Boost Users :
Subject: Re: [Boost-users] boost::assign::list_of and C++0x
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-06-03 06:35:22
Den 03-06-2011 06:48, Travis Gockel skrev:
> I'm moving a fairly large project over to C++0x, since it is about to be
> published (crosses fingers) and we need to stay up with the times. In
> this project, we use the wonderful boost::assign::list_of to assign
> collections (since initializer lists don't exist yet). We are using g++
> 4.5.1 and Boost 1.46.1.
> When switching to C++0x, bits of code like this break:
> std::vector<int> vec;
> vec = boost::assign::list_of(1)(2)(3);
> with the following error:
We think we have a way to fix it, similar to yours.
I'm a little busy right now ... but a fix should be there soon.
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