id summary reporter owner description type status milestone component version severity resolution keywords cc 7364 ambiguity error constructing std::vector from assign::list_of Eric Niebler James E. King, III "The problem is due to the addition of rvalue-reference container constructors. The following fails to compile with vc10: {{{ #include #include int main() { std::vector i(boost::assign::list_of(1)); } }}} The error is: {{{ 1>c:\boost\org\trunk\libs\proto\scratch\main.cpp(6): error C2668: 'std::vector<_Ty>::vector' : ambiguous call to overloaded function 1> with 1> [ 1> _Ty=int 1> ] 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(593): could be 'std::vector<_Ty>::vector(std::vector<_Ty> &&)' 1> with 1> [ 1> _Ty=int 1> ] 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(515): or 'std::vector<_Ty>::vector(unsigned int)' 1> with 1> [ 1> _Ty=int 1> ] 1> while trying to match the argument list '(boost::assign_detail::generic_list)' 1> with 1> [ 1> T=int 1> ] 1> 1>Build FAILED. }}} " Bugs closed Boost 1.69 assign Boost 1.53.0 Problem duplicate