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

Public Types

using ptr_t = PtrT
 
using ptr_t = PtrT
 

Static Public Member Functions

constexpr static ptr_t result (ptr_t &p) noexcept(true)
 
constexpr static ptr_t result (ptr_t &p) noexcept(true)
 

Detailed Description

template<class PtrT>
struct copier< PtrT >

This is needed because the std::shared_ptr & boost::shared_ptr are not thread-safe.

Definition at line 113 of file shared_ptr_parallel.cpp.

Member Typedef Documentation

◆ ptr_t [1/2]

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

Definition at line 114 of file shared_ptr_parallel.cpp.

◆ ptr_t [2/2]

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

Definition at line 114 of file shared_ptr_parallel.cpp.

Member Function Documentation

◆ result() [1/2]

template<class PtrT >
constexpr static ptr_t copier< PtrT >::result ( ptr_t p)
inlinestaticconstexprnoexcept

Definition at line 116 of file shared_ptr_parallel.cpp.

◆ result() [2/2]

template<class PtrT >
constexpr static ptr_t copier< PtrT >::result ( ptr_t p)
inlinestaticconstexprnoexcept

Definition at line 116 of file shared_ptr_parallel.cpp.


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