Template declaration of std.typecons.isTuple in -X JSON file.

realhet real_het at hotmail.com
Wed Jan 15 20:01:24 UTC 2025


When I write:

template f(Specs...)f(T.init);

The compiler syntactically refuses it: It expects a '{', not a 
"f".

Why they use this inside a __traits(compiles, {}) in Phobos?  
Does it makes sense inside there?



More information about the Digitalmars-d-learn mailing list