Ejemplo n.º 1
0
 class_whose_explicit_ctor_should_be_used(const class_whose_explicit_ctor_should_be_used &)
 {
   BOOST_CHECK(!"This copy constructor should not be used while swapping!");
   throw copy_ctor_exception();
 }
Ejemplo n.º 2
0
 class_whose_default_ctor_should_be_used(const class_whose_default_ctor_should_be_used &)
 {
   BOOST_TEST(!"This copy constructor should not be used while swapping!");
   throw copy_ctor_exception();
 }
Ejemplo n.º 3
0
 template_whose_default_ctor_should_be_used(const template_whose_default_ctor_should_be_used &)
 {
   BOOST_CHECK(!"This copy constructor should not be used while swapping!");
   throw copy_ctor_exception();
 }