|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4EnhancedVecAllocator is a class for fast allocation of STL vectors through a static pool. It's meant to be used as alternative allocator for STL vectors. More...
#include <G4EnhancedVecAllocator.hh>
Classes | |
| struct | rebind |
Public Member Functions | |
| G4EnhancedVecAllocator () | |
| G4EnhancedVecAllocator (const G4EnhancedVecAllocator< _Tp > &) | |
| template<typename _Tp1> | |
| G4EnhancedVecAllocator (const G4EnhancedVecAllocator< _Tp1 > &) | |
| ~G4EnhancedVecAllocator () | |
| void | deallocate (_Tp *_Ptr, std::size_t _Count) |
| _Tp * | allocate (std::size_t _Count) |
G4EnhancedVecAllocator is a class for fast allocation of STL vectors through a static pool. It's meant to be used as alternative allocator for STL vectors.
Definition at line 76 of file G4EnhancedVecAllocator.hh.
|
inline |
Definition at line 83 of file G4EnhancedVecAllocator.hh.
|
inline |
Definition at line 85 of file G4EnhancedVecAllocator.hh.
|
inline |
Definition at line 89 of file G4EnhancedVecAllocator.hh.
|
inline |
Definition at line 92 of file G4EnhancedVecAllocator.hh.
| _Tp * G4EnhancedVecAllocator< _Tp >::allocate | ( | std::size_t | _Count | ) |
Definition at line 151 of file G4EnhancedVecAllocator.hh.
| void G4EnhancedVecAllocator< _Tp >::deallocate | ( | _Tp * | _Ptr, |
| std::size_t | _Count ) |
Definition at line 113 of file G4EnhancedVecAllocator.hh.