[Issue 4056] New: Template instantiation with bare parameter not documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 2 21:24:04 PDT 2010


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

           Summary: Template instantiation with bare parameter not
                    documented
           Product: D
           Version: 2.041
          Platform: All
               URL: http://digitalmars.com/d/2.0/template.html
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody at puremagic.com
        ReportedBy: jlquinn at optonline.net


--- Comment #0 from Jerry Quinn <jlquinn at optonline.net> 2010-04-02 21:24:02 PDT ---
I've recently seen people using template instances like:

mytemplate!int var;

The docs don't say anything about this form, nor do the release notes for that
matter.  Either it's a bug (I assume not) or the spec needs to document it.

I assume this form is only good for single template parameters.  Are there
other limits on what parameters can be used in this way?

-- 
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