[Issue 6954] std.conv.to!int doesn't work in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 16 05:22:04 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6954


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-11-16 05:21:17 PST ---
Do you have a test case that doesn't work?
scope statements are supported in CTFE now.
This works on git DMD head:

import std.conv;
static assert(to!int("754") == 754);

-- 
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