CTFE is getting too powerful :o)
deadalnix
deadalnix at gmail.com
Wed Mar 27 11:01:34 PDT 2013
On Wednesday, 27 March 2013 at 17:19:40 UTC, H. S. Teoh wrote:
> On Wed, Mar 27, 2013 at 10:48:31AM -0400, Andrei Alexandrescu
> wrote:
>> Found this:
>> http://stackoverflow.com/questions/15652718/object-error-access-violation-when-printing-result-of-std-algorithm-cartesianpr
>
> IMO, this is a compiler bug. If the compiler can't correctly
> generate
> code for something, it shouldn't just keep quiet and generate
> wrong
> code.
>
That work fairly well for closures and context pointer. It is a
proven strategy.
More information about the Digitalmars-d
mailing list