Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::mpl, c++11 and clang 3.0: compiler bug?
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2012-01-17 10:34:52


On 17.01.2012, at 16:25, Allan Nielsen wrote:

> Hi
>
> The following code compiles fine under clang 3.0 but I get unexpected output:
> <snip>
>
> The output I get is:
> 0 4
> 0 4
> 0 4
>
> The output I expected is:
> 0 4
> 4 4
> 8 4

Could be a bug in Clang 3.0. I get the expected output in SVN HEAD.

Sebastian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net