lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Stack Class Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Stack()

Stack::Stack ( )
inline

Start allocating at the beginning of the internal buffer.


The documentation for this class was generated from the following file: