Constants doesn't have UDA's?
Hello guys! @("att") int t = 1; auto b = [ __traits(getAttributes, t) ]; Works. @("att") enum int t = 1; auto b = [ __traits(getAttributes, t) ]; Works also. @("att") const int t = 1; auto b = [ __traits(getAttributes, t) ]; Doesn't work. Error: first argument is not a symbol Why? Also a li
Re: Constants doesn't have UDA's?
http://forum.dlang.org/thread/htuakrtvoyymappje...@forum.dlang.org
Re: Constants doesn't have UDA's?
Oh, i see, thanks. P.S. туй васю нигодяй.