Get attributes of a field?

Alex AJ at gmail.com
Tue Apr 2 13:36:47 UTC 2019


On Tuesday, 2 April 2019 at 13:23:37 UTC, Alex wrote:
> __traits(getAttributes, T)
>
> Requires a type and a field is unfortunately not a type ;/

I'd like to be able to get the attributes without having to 
instantiate the base type because that is problematic and I see 
no reason why it has to be instantiated to get CT values.


More information about the Digitalmars-d-learn mailing list