www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2226] New: is expression for associative arrays: is(U T == T[S], S)

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2226

           Summary: is expression for associative arrays: is(U T == T[S], S)
           Product: D
           Version: 1.033
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: spec
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: diggory.hardy gmail.com


It does not appear to be possible to use the equivalent of is(U T == T[]) for
associative arrays (although this kind of thing is possible with templates).
From the mailing lists I gather the "correct" notation would be:
  is(U T == T[S], S)
although the spec is unclear on the matter.

But also I gather that many people want the whole type specialization syntax to
be improved anyway?


-- 
Jul 15 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2226


Christian Kamm <kamm-removethis incasoftware.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kamm-removethis incasoftwar
                   |                            |e.de
         Resolution|                            |WONTFIX





2009-06-27 10:38:59 PDT ---
I've marked this as WONTFIX as D2 has this feature and D1 is frozen.

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