id summary reporter owner description type status milestone component version severity resolution keywords cc 12427 Boost Spirit: call of 'swap' is ambiguous hannes@… Joel de Guzman "I tried to compile a code with boost 1.58 and received the error below. The same code compiles with boost 1.55. Error: /usr/include/boost/spirit/home/support/attributes.hpp:1036:13: error: call of overloaded ‘swap(boost::fusion::vector3, boost::shared_ptr, boost::shared_ptr >&, boost::fusion::vector3, boost::shared_ptr, boost::shared_ptr >&)’ is ambiguous swap(a, b); /usr/include/boost/core/swap.hpp:54:8: note: candidate: void boost::swap(T1&, T2&) [with T1 = boost::fusion::vector3, boost::shared_ptr, boost::shared_ptr >; T2 = boost::fusion::vector3, boost::shared_ptr, boost::shared_ptr >] void swap(T1& left, T2& right) /usr/include/boost/fusion/sequence/intrinsic/swap.hpp:57:5: note: candidate: typename boost::fusion::result_of::swap::type boost::fusion::swap(Seq1&, Seq2&) [with Seq1 = boost::fusion::vector3, boost::shared_ptr, boost::shared_ptr >; Seq2 = boost::fusion::vector3, boost::shared_ptr, boost::shared_ptr >; typename boost::fusion::result_of::swap::type = void] swap(Seq1& lhs, Seq2& rhs)" Bugs closed To Be Determined spirit Boost 1.58.0 Problem fixed