libcopp 2.3.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Typedefs | Functions
default_smart_ptr_trait.h File Reference
#include "libcopp/utils/memory/rc_ptr.h"
#include "libcopp/utils/nostd/type_traits.h"
Include dependency graph for default_smart_ptr_trait.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  memory
 

Typedefs

using memory::default_rc_ptr_trait = compat_strong_ptr_function_trait< compat_strong_ptr_mode::kStrongRc >
 
template<class T >
using memory::default_strong_rc_ptr = typename default_rc_ptr_trait::template shared_ptr< T >
 
template<class T >
using memory::default_weak_rc_ptr = typename default_rc_ptr_trait::template weak_ptr< T >
 
template<class T >
using memory::default_enable_shared_from_this = typename default_rc_ptr_trait::template enable_shared_from_this< T >
 

Functions

template<class T , class... ArgsT>
LIBCOPP_UTIL_FORCEINLINE default_strong_rc_ptr< T > memory::default_make_strong (ArgsT &&... args)
 
template<class T , class Alloc , class... TArgs>
LIBCOPP_UTIL_FORCEINLINE default_strong_rc_ptr< T > memory::default_allocate_strong (const Alloc &alloc, TArgs &&... args)
 
template<class T , class F >
LIBCOPP_UTIL_FORCEINLINE default_strong_rc_ptr< T > memory::default_static_pointer_cast (F &&f)
 
template<class T , class F >
LIBCOPP_UTIL_FORCEINLINE default_strong_rc_ptr< T > memory::default_const_pointer_cast (F &&f)