www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2663] New: template instantiation description permits runtime instantiation

reply d-bugmail puremagic.com writes:
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.


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


jlquinn optonline.net changed:

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





I reread the text and realized it is explained further down.


-- 
Feb 15 2009