TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::memory::strong_ptr_only_token Class Reference

A construction token that can only be created by make_strong_ptr. More...

#include <memory.hpp>

Friends

template<class U , typename... Args>
strong_ptr< U > make_strong_ptr (std::pmr::polymorphic_allocator<>, Args &&...)
 

Detailed Description

A construction token that can only be created by make_strong_ptr.

Make the first parameter of your class's constructor(s) in order to limit that constructor to only be used via make_strong_ptr.


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