id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12256,"boost::container::set>::insert cause compilation error in debug configuration in Visual Studio 2012",anonymous,Ion Gaztañaga,"Here is the example code {{{ boost::container::set> s; std::pair p(0, 0); s.insert(p); }}} It outputs a several pages long template error starting as {{{ 1>...........\boost_1_61_0\boost/intrusive/detail/tree_value_compare.hpp(74): error C2664: 'const std::pair<_Ty1,_Ty2> &boost::move_detail::identity::operator ()(const std::pair<_Ty1,_Ty2> &)' : cannot convert parameter 1 from 'const boost::container::container_detail::pair' to 'const std::pair<_Ty1,_Ty2> &' 1> with 1> [ 1> _Ty1=int, 1> _Ty2=int, 1> T=std::pair 1> ] 1> and 1> [ 1> T1=int, 1> T2=int 1> ] 1> and 1> [ 1> _Ty1=int, 1> _Ty2=int 1> ] 1> Reason: cannot convert from 'const boost::container::container_detail::pair' to 'const std::pair<_Ty1,_Ty2>' ................................ }}} Same code compiles correctly in release configuration. And it compiles correctly in boost 1.59 in all configurations. Marking it as Showstopper as it breaks a lot of our code. To reproduce - create a new VS2012 project with default settings. I didn't test it on other versions of Visual Studio.",Bugs,closed,To Be Determined,container,Boost 1.61.0,Showstopper,fixed,,