
3 Jun
2011
3 Jun
'11
10:35 a.m.
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. -Thorsten