Geant4-11
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
// ======================================================================
CLHEP::noncopyable
Definition:
noncopyable.h:19
CLHEP::noncopyable::operator=
noncopyable & operator=(noncopyable const &)
CLHEP::noncopyable::noncopyable
noncopyable()
Definition:
noncopyable.h:21
CLHEP::noncopyable::noncopyable
noncopyable(noncopyable const &)
CLHEP::noncopyable::~noncopyable
~noncopyable()
Definition:
noncopyable.h:22
defs.h
CLHEP
Definition:
DoubConv.h:17
Generated by
1.9.3