digitalmars.D.bugs - [Issue 16024] New: More struct/class/interface introspection helpers
- via Digitalmars-d-bugs (22/22) May 13 2016 https://issues.dlang.org/show_bug.cgi?id=16024
https://issues.dlang.org/show_bug.cgi?id=16024 Issue ID: 16024 Summary: More struct/class/interface introspection helpers Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: erikas.aubade gmail.com Having std.traits.Fields and FieldNameTuple is a very nice thing for part of the work in introspecting a struct or class, but a few new ones would be very handy: 1) templates for listing all static or non-static member functions 2) a template for listing static fields 3) templates for nested types 4) templates that can be used to with std.meta templates to filter according to protection level (ideally, ones that won't trip the new 2.071 deprecations) --
May 13 2016