LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
UncopiableAndUnmovableClass.h
Go to the documentation of this file.
1 
10 #ifndef LARCORE_COREUTILS_UNCOPIABLEANDUNMOVEABLECLASS_H
11 #define LARCORE_COREUTILS_UNCOPIABLEANDUNMOVEABLECLASS_H 1
12 
13 
14 namespace lar {
15 
44 
46  UncopiableAndUnmovableClass() = default;
47 
48  // @{
52 
54  (UncopiableAndUnmovableClass const&) = delete;
56  (UncopiableAndUnmovableClass&&) = delete;
57  // @}
58 
60  ~UncopiableAndUnmovableClass() = default;
61 
62  }; // UncopiableAndUnmovableClass
63 
64 
65 } // namespace lar
66 
67 #endif // LARCORE_COREUTILS_UNCOPIABLEANDUNMOVEABLECLASS_H
An empty class that can't be copied nor moved.
~UncopiableAndUnmovableClass()=default
Default destructor.
LArSoft-specific namespace.
UncopiableAndUnmovableClass()=default
Default constructor.