Metaprogramming with traits

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 16 01:01:18 PDT 2016


On Thursday, 15 September 2016 at 22:05:55 UTC, Ram_B wrote:
> test.d(33): Error: variable f cannot be read at compile time
> test.d(33): Error: string expected as second argument of 
> __traits hasMember instead of __error
> test.d(46): Error: template instance test.A.t!(B) error 
> instantiating

Maybe Array!(string) can't be use in compile-time code?


More information about the Digitalmars-d-learn mailing list