February 14, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2663

           Summary: template instantiation description permits runtime
                    instantiation
           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


The template instantiation description allows AssignExpression as a template argument.  Assign expressions can be constructs that can only be decided at runtime.

I think the intent is to allow only compile-time evaluation of an assignexpression template argument.


-- 

February 15, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2663


jlquinn@optonline.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from jlquinn@optonline.net  2009-02-15 07:37 -------
I reread the text and realized it is explained further down.


--