|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Bump allocator over a 1 MiB member buffer: malloc() returns the current position and advances it by size with no bounds check, and free() does nothing. More...
#include <Allocator.hh>
Inherits Allocator.
Public Member Functions | |
| Stack () | |
| Start allocating at the beginning of the internal buffer. | |
Bump allocator over a 1 MiB member buffer: malloc() returns the current position and advances it by size with no bounds check, and free() does nothing.
Both overrides are private, so they are reachable only through an Allocator pointer or reference.
|
inline |
Start allocating at the beginning of the internal buffer.