[Issue 3835] [CTFE] Fragile CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 18 21:14:54 PST 2010


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


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> 2010-02-18 21:14:53 PST ---
(In reply to comment #0)
> This code (that uses CTFE to do something that can be useful, it initializes an
> array with values compiled at compile time) compiles and works correctly, but I
> think it's too much fragile: if you change the for loop a little, or other
> details in genFactorials(), the program stops compiling:

Please put in an example that it wouldn't compile!

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