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: [email protected]
Reporter: [email protected]
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)
--