TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::memory::detail::rc< T > Struct Template Reference

A wrapper that contains both the ref_info and the actual object. More...

#include <memory.hpp>

Public Member Functions

template<typename... Args>
 rc (std::pmr::polymorphic_allocator<> p_alloc, Args &&... args)
 

Static Public Member Functions

static size_t destroy_function (void const *p_object)
 

Public Attributes

ref_info m_info
 
m_object
 

Detailed Description

template<typename T>
struct atlas::memory::detail::rc< T >

A wrapper that contains both the ref_info and the actual object.

This structure keeps the control block and managed object together in memory.

Template Parameters
TThe type of the managed object

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