https://d.puremagic.com/issues/show_bug.cgi?id=11577

           Summary: Template std.typetuple.NoDuplicates removes const
                    types for classes and structs
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: goldmax3...@gmail.com


--- Comment #0 from GoldMax <goldmax3...@gmail.com> 2013-11-21 19:52:13 PST ---
// OK
static assert(is(NoDuplicates!(int, const(int)) == TypeTuple!(int,
const(int))));
// Error - result is (DateTime)
static assert(is(NoDuplicates!(DateTime, const(DateTime)) ==
TypeTuple!(DateTime, const(DateTime))));
// Error - result is (Object)
static assert(is(NoDuplicates!(Object, const(Object)) == TypeTuple!(Object,
const(Object))));

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to