CTFE is getting too powerful :o)

Dicebot m.strashun at gmail.com
Wed Mar 27 09:01:21 PDT 2013


On Wednesday, 27 March 2013 at 14:48:32 UTC, Andrei Alexandrescu 
wrote:
> Found this: 
> http://stackoverflow.com/questions/15652718/object-error-access-violation-when-printing-result-of-std-algorithm-cartesianpr
>
> Soon we'll need to clearly define the limits of CTFE, and what 
> happens when it fails.
>
>
> Andrei

Is it really CTFE fault? So far seems more like issue of run-time 
data vs compile-time data, interconnection of which is (probably) 
not defined. CTFE has actually done an awesome job and managed to 
compute cartesianProduct :) Erm, pretended to do so at least.


More information about the Digitalmars-d mailing list