#include "larcorealg/CoreUtils/UncopiableAndUnmovableClass.h"
#include <boost/test/unit_test.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 55 of file UncopiableAndUnmovableClass_test.cc.
80 MovableDerived(MovableDerived&&):
81 lar::UncopiableAndUnmovableClass() {}
93 AssignableDerived& operator=(AssignableDerived
const&) {
return *
this; }
94 AssignableDerived& operator=(AssignableDerived&&) {
return *
this; }
An empty class that can't be copied nor moved.
LArSoft-specific namespace.