ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
memory.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file memory.h
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
};
26
27
void
28
do_nothing_deleter::operator ()
(
void
const
* )
const
29
{ }
30
31
32
}
// namespace CLHEP
33
34
#endif // CLHEP_MEMORY_H
35
//
36
// ======================================================================
geant4
tree
geant4-10.6-release
source
externals
clhep
include
CLHEP
Utility
memory.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:14
using
1.8.2 with
ECCE GitHub integration