[SVN r84360]
This commit is contained in:
Ion Gaztañaga
2013-05-18 21:06:19 +00:00
parent 53c232e485
commit dd1cc03280
4 changed files with 71 additions and 29 deletions
+14
View File
@@ -9,6 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#include <boost/container/detail/config_begin.hpp>
#include <boost/container/scoped_allocator_fwd.hpp>
#include <boost/container/detail/utilities.hpp>
#include <cstddef>
#include <boost/container/detail/mpl.hpp>
#include <boost/move/utility.hpp>
@@ -461,6 +462,19 @@ int main()
BOOST_STATIC_ASSERT(( Scoped2InnerTTT::propagate_on_container_swap::value ));
}
//Default constructor
{
Scoped0Inner s0i;
Scoped1Inner s1i;
//Swap
{
Scoped0Inner s0i2;
Scoped1Inner s1i2;
boost::container::swap_dispatch(s0i, s0i2);
boost::container::swap_dispatch(s1i, s1i2);
}
}
//Default constructor
{
Scoped0Inner s0i;