This compiles:
std::vector value = boost::assign::list_of(1)(2);
But not this:
Constructor(std::vector
This is a annoying problem, we also had some time before. We fixed it by using the convert_to_container method:
Constructor c(boost::assign::list_of(1)(2).convert_to_container >() );
There are more issues with std::list using in constructor too. See Pass std::list to constructor using boost's list_of doesn't compile for the appropriate answer.