[Issue 4001] ctfe return value is handled incorrectly when used as template argument
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 24 11:29:55 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4001
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-03-24 11:29:52 PDT ---
(In reply to comment #1)
< Note that const
> variables are NOT evaluated at compile time. But in these kind of situations,
> it should do the same thing it does with a CTFE function call.
Then how does the first pragma work? It uses the same const variable that
supposedly isn't evaluatable at compile time in the second pragma...
-Steve
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list