LiteFX 0.4.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
LiteFX::SharedObject::Allocator< T > Struct Template Reference

An allocator used to allocate the shared object. More...

#include <containers.hpp>

Inherits std::allocator< T >.

Public Member Functions

template<typename TParent , typename... TArgs>
void construct (TParent *parent, TArgs &&... args)
 

Detailed Description

template<typename T>
struct LiteFX::SharedObject::Allocator< T >

An allocator used to allocate the shared object.

Template Parameters
TThe type of the class that inherits from SharedObject.

Member Function Documentation

◆ construct()

template<typename T >
template<typename TParent , typename... TArgs>
void LiteFX::SharedObject::Allocator< T >::construct ( TParent * parent,
TArgs &&... args )
inline