Summary: std.traits: Unqual doesn't handle arrays well
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Luther Tychonievich <> 2009-12-02 
12:35:58 PST ---
Phobos' traits.d's Unqual! template (needed for several of its other templates)
does not handle arrays well:

writeln(Unqual!(const(int[])).stringof); // writes const(int)[] not int[]

Adding the following near line 1188 of traits.d solves this problem:

template Unqual(T : U[], U) { alias U[] Unqual; }

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to