Geant4
11.2.2
Toolkit for the simulation of the passage of particles through matter
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
u
w
z
Variables
c
d
e
g
h
i
k
l
m
n
o
p
q
s
t
v
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
w
Enumerations
a
b
c
d
e
f
g
l
m
p
r
s
t
v
y
z
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
:
a
b
c
d
g
h
i
o
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
b
c
d
e
f
g
i
j
l
m
n
p
s
t
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
▼
Geant4
Deprecated List
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
geant4-v11.2.2
▼
source
►
analysis
►
digits_hits
►
error_propagation
►
event
▼
externals
▼
clhep
▼
include
▼
CLHEP
►
Evaluator
►
Geometry
►
Random
►
Units
▼
Utility
►
atomic_int.h
►
defs.h
keywords.h
►
memory.h
►
noncopyable.h
►
thread_local.h
use_atomic.h
►
Vector
►
src
►
expat
►
g4tools
►
ptl
►
zlib
►
g3tog4
►
geometry
►
global
►
graphics_reps
►
intercoms
►
interfaces
►
materials
►
parameterisations
►
particles
►
persistency
►
physics_lists
►
processes
►
readout
►
run
►
track
►
tracking
►
visualization
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
memory.h
Go to the documentation of this file.
1
#ifndef CLHEP_MEMORY_H
2
#define CLHEP_MEMORY_H
3
4
// ======================================================================
5
//
6
// memory - memory management utilities
7
//
8
// ======================================================================
9
10
#include <memory>
11
12
namespace
CLHEP
{
13
14
template
<
typename
T >
15
using
shared_ptr
= std::shared_ptr<T>;
16
template
<
typename
T >
17
using
weak_ptr
= std::weak_ptr<T>;
18
19
// ----------------------------------------------------------------------
20
// do_nothing_deleter - for shared_ptrs not taking ownership
21
// ----------------------------------------------------------------------
22
23
struct
do_nothing_deleter
{
24
inline
void
operator ()
(
void
const
* )
const
;
25
};
23
struct
do_nothing_deleter
{
…
};
26
27
void
28
do_nothing_deleter::operator ()
(
void
const
* )
const
29
{ }
28
do_nothing_deleter::operator ()
(
void
const
* )
const
{
…
}
30
31
32
}
// namespace CLHEP
33
34
#endif
// CLHEP_MEMORY_H
35
//
36
// ======================================================================
CLHEP
Definition
DoubConv.h:17
CLHEP::shared_ptr
std::shared_ptr< T > shared_ptr
Definition
memory.h:15
CLHEP::weak_ptr
std::weak_ptr< T > weak_ptr
Definition
memory.h:17
CLHEP::do_nothing_deleter
Definition
memory.h:23
CLHEP::do_nothing_deleter::operator()
void operator()(void const *) const
Definition
memory.h:28
geant4-v11.2.2
source
externals
clhep
include
CLHEP
Utility
memory.h
Generated by
1.12.0