www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2662] New: Symbol template argument not defined by grammar or text

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

           Summary: Symbol template argument not defined by grammar or text
           Product: D
           Version: 2.023
          Platform: PC
               URL: http://www.digitalmars.com/d/2.0/template.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: jlquinn optonline.net


Under template instantiation, Symbol is included as an alternative under
TemplateArgument.  The syntax of symbol isn't described anywhere, though.

Also, the text below doesn't describe what instantiation looks like with a
symbol argument.

I get the impression that Symbol is mistakenly located here rather than under
TemplateParameter in the section on template declarations.


-- 
Feb 14 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2662


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2012-01-23
00:23:18 PST ---
The grammar is given here:

dlang.org/template.html#Symbol

And it's described under TemplateAliasParameter.

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