TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas.common Module Reference

Typedefs

template<typename T >
using atlas::ref = std::shared_ptr< T >
 alias to atlas::memory::strong_ptr<T>
 
template<typename T >
using atlas::scope = std::unique_ptr< T >
 alias to std::unique_ptr<T>
 

Functions

template<typename T , typename... Args>
constexpr ref< T > atlas::create_ref (Args &&... args)
 construct std::make_shared<T>(...);
 
template<typename T , typename... Args>
constexpr scope< T > atlas::create_scope (Args &&... args)
 construct std::make_unique<T>(...);
 

Files

file  TheAtlasEngine/atlas/core/common.cppm