Template Struct Constructor

Nested Relationships

Nested Types

Struct Documentation

template<typename T>
struct Constructor

Tracks raw/live slots independently of singleton teardown.

Distinct slots may be constructed/destroyed concurrently; overlapping operations on a busy slot are rejected. Callers retain storage until their operation ends. User code runs outside the tracking mutex, including reentrant operations on other slots. Public static operations use the shared T context; final owners capture that context and never consult static storage during release.

Public Static Functions

static inline std::shared_ptr<Context> release_context()

Declaration: [[nodiscard]]

template<typename ...Args>
static inline void construct(T *pointer, std::size_t count, Args... args)
static inline void destroy(T *pointer, std::size_t count = 1)
static inline void erase(T *first, T *last)