MOS Source Code
Loading...
Searching...
No Matches
shared_ptr.hpp File Reference
#include <cstddef>
#include <mos/allocator.hpp>
#include <mos/type_utils.hpp>
#include <mos/types.hpp>
#include <type_traits>
+ Include dependency graph for shared_ptr.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __shared_ptr_core< T >
 
class  weak_ptr< T >
 
class  shared_ptr< T >
 
struct  PtrResult< mos::shared_ptr< T > >
 

Namespaces

namespace  mos
 

Typedefs

template<typename T>
using ptr = mos::shared_ptr<T>
 

Functions

template<typename T, typename... Args>
T * create (Args &&...args)
 
template<typename T, typename... Args>
requires HasTypeName<T>
shared_ptr< T > make_shared (Args &&...args)
 

Typedef Documentation

◆ ptr

template<typename T>
using ptr = mos::shared_ptr<T>

Definition at line 354 of file shared_ptr.hpp.