std.traits vcs __traits

Nordlöw via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 15 04:53:04 PST 2017


Why is there both

http://dlang.org/phobos/std_traits.html

and the builtin

https://dlang.org/spec/traits.html

?

Should we modify std.traits to make use of __traits? I've noticed 
measurably faster compilations with __traits instead of 
std.traits for simple things such as isIntegral, isUnsigned, etc.

If so, I'll happily make that happen!


More information about the Digitalmars-d mailing list