Get attributes of a field?
Andre Pany
andre at s-e-a-p.de
Tue Apr 2 15:38:19 UTC 2019
On Tuesday, 2 April 2019 at 13:36:47 UTC, Alex wrote:
> 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.
Could you provide a full example for this issue and for your
other message? That makes it easier to help you
Kind regards
Andre
More information about the Digitalmars-d-learn
mailing list