The worst Phobos template (in binderoo)

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 15 03:48:23 PDT 2016


On Thursday, 15 September 2016 at 06:08:33 UTC, Dicebot wrote:
>
> mixin("alias T2 = " ~ fqn!T);
> static assert(is(T2 == T));
>
> In that sense builtin trait could be a better option.

Yes a builtin trait is the better option.
I made a youtube video about that.
Showing you how bad FullyQualifiedName is and how much better a 
trait is.
https://www.youtube.com/watch?v=l1Ph3Nn0en0



More information about the Digitalmars-d mailing list