Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
noncopyable.h
Go to the documentation of this file.
1#ifndef CLHEP_NONCOPYABLE_H
2#define CLHEP_NONCOPYABLE_H
3
4// ======================================================================
5//
6// noncopyable - classes directly/indirectly inheriting won't be copyable
7//
8// Author: W. E. Brown; 2010-03-05
9//
10// ======================================================================
11
12
13#include "CLHEP/Utility/defs.h"
14
15
16namespace CLHEP {
17
19{
20protected:
21 noncopyable () throw () { }
22 ~noncopyable() throw () { }
23
24private:
25 noncopyable ( noncopyable const & ); // = delete;
26 noncopyable & operator = ( noncopyable const & ); // = delete;
27}; // noncopyable
28
29} // namespace CLHEP
30
31#endif // HEP_NONCOPYABLE_H
32//
33// ======================================================================
Definition: DoubConv.h:17