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?
realhet via Digitalmars-d-learn Wed, 15 Jan 2025 12:06:53 -0800
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?