libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
make_shared< PtrT > Struct Template Referencefinal

Public Types

using ptr_t = PtrT
 
using ptr_t = PtrT
 

Static Public Member Functions

constexpr static ptr_t result (typename ptr_t::element_type p) noexcept(true)
 
constexpr static ptr_t result (typename ptr_t::element_type p) noexcept(true)
 

Detailed Description

template<class PtrT>
struct make_shared< PtrT >

This is needed because the std::shared_ptr & boost::shared_ptr need to be created with an intrusive counter.

Definition at line 77 of file shared_ptr_parallel.cpp.

Member Typedef Documentation

◆ ptr_t [1/2]

template<class PtrT >
using make_shared< PtrT >::ptr_t = PtrT

Definition at line 78 of file shared_ptr_parallel.cpp.

◆ ptr_t [2/2]

template<class PtrT >
using make_shared< PtrT >::ptr_t = PtrT

Definition at line 78 of file shared_ptr_parallel.cpp.

Member Function Documentation

◆ result() [1/2]

template<class PtrT >
constexpr static ptr_t make_shared< PtrT >::result ( typename ptr_t::element_type  p)
inlinestaticconstexprnoexcept

Definition at line 80 of file shared_ptr_parallel.cpp.

◆ result() [2/2]

template<class PtrT >
constexpr static ptr_t make_shared< PtrT >::result ( typename ptr_t::element_type  p)
inlinestaticconstexprnoexcept

Definition at line 80 of file shared_ptr_parallel.cpp.


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