Re: Determine at compile time whether or not an alias is defined in a struct/class

2017-12-31 Thread Steven Schveighoffer via Digitalmars-d-learn
On 12/31/17 10:01 AM, ktoast wrote: Hello everyone, I started to learn D a few weeks ago and have been stuck trying to solve the following problem : - determine at compile time whether an alias is defined or not in a struct/class. You'll find my attempt thereafter, something similar to ho

Determine at compile time whether or not an alias is defined in a struct/class

2017-12-31 Thread ktoast via Digitalmars-d-learn
Hello everyone, I started to learn D a few weeks ago and have been stuck trying to solve the following problem : - determine at compile time whether an alias is defined or not in a struct/class. You'll find my attempt thereafter, something similar to how it's done in C++ (using the type v