[Issue 2663] New: template instantiation description permits runtime instantiation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 14 08:36:23 PST 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 at digitalmars.com
ReportedBy: jlquinn at 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.
--
More information about the Digitalmars-d-bugs
mailing list