id summary reporter owner description type status milestone component version severity resolution keywords cc 1785 assign::list_of works poorly with class constructors tailsu@… Thorsten Ottosen "try compiling the following snippet: #include using namespace boost::assign; class foo { public: foo(const vector& a) {} }; void bar() { foo a(list_of(0)); } at the line 'foo a(list_of(0))' the compiler (VC8) thinks I want to call the copy contructor of foo, instead of the constructor that would cause a conversion to vector. This case requires an explicit conversion, or using a different constructor prototype that doesn't overload the copy constructor. Please, advise which is the best way to use list_of in this scenario." Bugs closed Boost 1.36.0 assign Boost 1.35.0 Problem invalid list_of