[Issue 8364] New: Allow exclamation mark in template definition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 9 13:12:42 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8364

           Summary: Allow exclamation mark in template definition
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: qwertie256 at gmail.com


--- Comment #0 from David Piepgrass <qwertie256 at gmail.com> 2012-07-09 13:12:42 PDT ---
The syntax of templates should be similar at the definition as it is at the
call site:

T sum!(T,R)(R range) if (isInputRange!R...) { ... }

Of course, the existing syntax must be kept too.

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


More information about the Digitalmars-d-bugs mailing list