Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
externals
clhep
include
CLHEP
Utility
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
16
namespace
CLHEP {
17
18
class
noncopyable
19
{
20
protected
:
21
noncopyable
() throw () { }
22
~noncopyable
() throw () { }
23
24
private
:
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
// ======================================================================
Generated on Sat May 25 2013 14:33:06 for Geant4 by
1.8.4