NDDEM
Public Types | Private Types | List of all members
cereal::traits::get_shared_from_this_base< T > Struct Template Reference

Get the type of the base class of T which inherited from std::enable_shared_from_this. More...

#include <traits.hpp>

Public Types

using type = typename std::decay< typename PtrType::element_type >::type
 The type of the base of T that inherited from std::enable_shared_from_this. More...
 

Private Types

using PtrType = decltype(detail::shared_from_this_wrapper::get(std::declval< T >()))
 

Detailed Description

template<class T>
struct cereal::traits::get_shared_from_this_base< T >

Get the type of the base class of T which inherited from std::enable_shared_from_this.

Member Typedef Documentation

◆ PtrType

template<class T >
using cereal::traits::get_shared_from_this_base< T >::PtrType = decltype(detail::shared_from_this_wrapper::get(std::declval<T>()))
private

◆ type

template<class T >
using cereal::traits::get_shared_from_this_base< T >::type = typename std::decay<typename PtrType::element_type>::type

The type of the base of T that inherited from std::enable_shared_from_this.


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