id summary reporter owner description type status milestone component version severity resolution keywords cc 6183 [move][doc] missing return type Akira Takahashi Ion Gaztañaga "this code in introduction document: {{{ template swap(T& a, T& b) { T tmp(a); // now we have two copies of a a = b; // now we have two copies of b b = tmp; // now we have two copies of tmp (aka a) } }}} {{{ template swap(T& a, T& b) { T tmp(::boost::move(a)); a = ::boost::move(b); b = ::boost::move(tmp); } }}} http://www.boost.org/doc/libs/1_48_0/doc/html/move/introduction.html it seem missing return type(void). should be: {{{ template void swap(T& a, T& b) { T tmp(a); // now we have two copies of a a = b; // now we have two copies of b b = tmp; // now we have two copies of tmp (aka a) } }}} {{{ template void swap(T& a, T& b) { T tmp(::boost::move(a)); a = ::boost::move(b); b = ::boost::move(tmp); } }}}" Bugs closed To Be Determined move Boost 1.48.0 Problem fixed