NDDEM
Static Public Member Functions | List of all members
cereal::traits::detail::shared_from_this_wrapper Struct Reference

#include <traits.hpp>

Static Public Member Functions

template<class U >
static auto() check (U const &t) -> decltype(::cereal::access::shared_from_this(t), std::true_type())
 
static auto() check (...) -> decltype(std::false_type())
 
template<class U >
static auto get (U const &t) -> decltype(t.shared_from_this())
 

Member Function Documentation

◆ check() [1/2]

static auto() cereal::traits::detail::shared_from_this_wrapper::check (   ...) -> decltype(std::false_type())
static

◆ check() [2/2]

template<class U >
static auto() cereal::traits::detail::shared_from_this_wrapper::check ( U const t) -> decltype(::cereal::access::shared_from_this(t), std::true_type())
static

◆ get()

template<class U >
static auto cereal::traits::detail::shared_from_this_wrapper::get ( U const t) -> decltype(t.shared_from_this())
static

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