Bug 2663 – template instantiation description permits runtime instantiation

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-02-14T10:36:00Z
Last change time
2015-06-09T01:21:00Z
Assigned to
bugzilla
Creator
jlquinn

Comments

Comment #0 by jlquinn — 2009-02-14T10:36:24Z
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.
Comment #1 by jlquinn — 2009-02-15T07:37:25Z
I reread the text and realized it is explained further down.