[Issue 17995] template NoDuplicates(TList...) bug.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 20 07:14:46 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17995

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com

--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Example code that demonstrates the behavior:

import std.meta;

alias a = NoDuplicates!(AliasSeq!(1, Repeat!(1000, 3)));
alias b = NoDuplicates!(AliasSeq!(1, Repeat!(10, 3)));

static assert(a.length == b.length);

a is AliasSeq!(3), b is AliasSeq!(1,3).

--


More information about the Digitalmars-d-bugs mailing list