Recursive template instantiation
Stefan Koch via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Mar 13 15:58:15 PDT 2017
On Monday, 13 March 2017 at 22:05:24 UTC, Jack Applegame wrote:
> Is this a bug?
No it's not
struct C
{
B!C;
}
is an error.
Howto compute C ? <------\
let's check the members; |
The member needs a template. |
Howto compute the template ? |
let's compute the parameters. |
What is the first Parameter ? |
Its C. |
Howoto compute C -------/
More information about the Digitalmars-d-learn
mailing list