Bug 16024 – More struct/class/interface introspection helpers

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2016-05-13T21:34:41Z
Last change time
2024-12-01T16:26:50Z
Assigned to
No Owner
Creator
erikas.aubade
Moved to GitHub: phobos#10177 →

Comments

Comment #0 by erikas.aubade — 2016-05-13T21:34:41Z
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)
Comment #1 by robert.schadek — 2024-12-01T16:26:50Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10177 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB