id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11386,list.emplace_back broken on Visual Studio 2010,rafael.gago@…,Ion Gaztañaga,"The sample below fails to compile with 1.58. It has no problem with 1.57. {{{ #include #include struct simple_type { simple_type (int a, int b, int c, int d, int e, int f, int g) { a_ = a; b_ = b; c_ = c; d_ = d; e_ = e; f_ = f; g_ = g; }; int a_, b_, c_, d_, e_ , f_, g_; }; int main() { boost::container::vector vector; vector.emplace_back (1, 2, 3, 4, 5, 6, 7); boost::container::list list; list.emplace_back (1, 2, 3, 4, 5, 6, 7); return 0; } }}} The error reported: {{{ 1>------ Build started: Project: intrusive_list, Configuration: Debug Win32 ------ 1> stdafx.cpp 1> list_bug.cpp 1>c:\boost_versions\boost_1_58_0\boost\container\list.hpp(753): error C2660: 'boost::container::container_detail::node_alloc_holder::create_node' : function does not take 7 arguments 1> with 1> [ 1> Allocator=boost::container::new_allocator, 1> ICont=boost::intrusive::list_impl,boost::intrusive::list_node_traits,normal_link,boost::intrusive::dft_tag,1>,unsigned int,true,boost::intrusive::list_defaults::header_holder_type> 1> ] 1> c:\boost_versions\boost_1_58_0\boost\container\list.hpp(753) : see reference to function template instantiation 'boost::container::container_detail::iterator_from_iiterator boost::container::list::emplace(boost::container::container_detail::iterator_from_iiterator,P0 &&,P1 &&,P2 &&,P3 &&,P4 &&,P5 &&,P6 &&)' being compiled 1> with 1> [ 1> IIterator=boost::intrusive::list_iterator,boost::intrusive::list_node_traits,normal_link,boost::intrusive::dft_tag,1>,false>, 1> IsConst=false, 1> T=simple_type, 1> P0=int, 1> P1=int, 1> P2=int, 1> P3=int, 1> P4=int, 1> P5=int, 1> P6=int 1> ] 1> c:\users\rafgag\vcb1000dd.git_migrated\build\intrusive_list\intrusive_list.cpp(31) : see reference to function template instantiation 'void boost::container::list::emplace_back(P0 &&,P1 &&,P2 &&,P3 &&,P4 &&,P5 &&,P6 &&)' being compiled 1> with 1> [ 1> T=simple_type, 1> P0=int, 1> P1=int, 1> P2=int, 1> P3=int, 1> P4=int, 1> P5=int, 1> P6=int 1> ] 1>c:\boost_versions\boost_1_58_0\boost\container\list.hpp(753): fatal error C1903: unable to recover from previous error(s); stopping compilation 1> Generating Code... ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== }}}",Bugs,closed,To Be Determined,container,Boost 1.58.0,Showstopper,duplicate,,