mn_shared_ptr.hpp File Reference
#include "../mn_config.hpp"
#include "../mn_def.hpp"

Go to the source code of this file.

Classes

class  mn::pointer::basic_shared_ptr< T, TRefType >
 

Namespaces

 mn
 
 mn::pointer
 

Typedefs

template<typename T >
using mn::pointer::shared_ptr = basic_shared_ptr< T, size_t >
 
template<typename T >
using mn::pointer::shared_atomic_ptr = basic_shared_ptr< T, atomic_size_t >
 

Functions

template<typename T , typename TRefType >
void mn::pointer::swap (basic_shared_ptr< T, TRefType > &a, basic_shared_ptr< T, TRefType > &b)
 
template<typename T , typename... Args>
shared_ptr< T > mn::pointer::make_shared (Args &&... args)
 Make a shared pointer. More...
 
template<typename T , typename... Args>
shared_atomic_ptr< T > mn::pointer::make_atomic_shared (Args &&... args)
 Make a shared atomic pointer. More...