digitalmars.D.bugs - [Issue 17643] New: std.traits.getSymbolsByUDA doesn't work with
- via Digitalmars-d-bugs (28/29) Jul 12 2017 https://issues.dlang.org/show_bug.cgi?id=17643
https://issues.dlang.org/show_bug.cgi?id=17643 Issue ID: 17643 Summary: std.traits.getSymbolsByUDA doesn't work with private attributes Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: greensunny12 gmail.com There's currently a publicly documented example about using getSymbolsByUDA with private attributes. This only works because the example is in std.traitsdmd -c test.dtuple(a) --- import std.traits; enum Attr; struct A { Attr int a; Attr private int c; } pragma(msg, getSymbolsByUDA!(A, Attr).stringof); --- --
Jul 12 2017