std.traits vcs __traits
Jack Stouffer via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 15 05:45:52 PST 2017
On Sunday, 15 January 2017 at 12:53:04 UTC, Nordlöw wrote:
> Why is there both
>
> http://dlang.org/phobos/std_traits.html
>
> and the builtin
>
> https://dlang.org/spec/traits.html
Several reasons, including usability in meta-templates like
allSatisfy and the fact that it's way more user friendly and
clear as a template.
> Should we modify std.traits to make use of __traits?
If it's faster and passes all of the tests, then sure.
More information about the Digitalmars-d
mailing list