#include "CoreUtils/UncopiableAndUnmovableClass.h"
#include <cetlib/quiet_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include <type_traits>
Go to the source code of this file.
#define BOOST_TEST_MODULE ( UncopiableAndUnmovableClass_test ) |
BOOST_AUTO_TEST_CASE |
( |
UncopiableAndUnmovableClassTest |
| ) |
|
Definition at line 33 of file UncopiableAndUnmovableClass_test.cc.
58 MovableDerived(MovableDerived&&):
59 gar::UncopiableAndUnmovableClass() {}
71 AssignableDerived& operator=(AssignableDerived
const&) {
return *
this; }
72 AssignableDerived& operator=(AssignableDerived&&) {
return *
this; }
General GArSoft Utilities.
An empty class that can't be copied nor moved.