boost::callable_traits::detail::can_dereference_t< T > Struct Template Reference

Documentation

template<typename T>
struct boost::callable_traits::detail::can_dereference_t< T >

Definition at line 22 of file is_invocable_impl.hpp.

Classes

struct  check
 

Static Public Member Functions

template<typename U >
static std::int8_t test (check< typename std::remove_reference< decltype(*std::declval< U >())>::type > *)
 
template<typename >
static std::int16_t test (...)
 

Static Public Attributes

static constexpr const bool value
 

Member Function Documentation

◆ test() [1/2]

template<typename T >
template<typename >
static std::int16_t boost::callable_traits::detail::can_dereference_t< T >::test (   ...)
static

◆ test() [2/2]

template<typename T >
template<typename U >
static std::int8_t boost::callable_traits::detail::can_dereference_t< T >::test ( check< typename std::remove_reference< decltype(*std::declval< U >())>::type  ,
 
)
static

Member Data Documentation

◆ value

template<typename T >
constexpr const bool boost::callable_traits::detail::can_dereference_t< T >::value
staticconstexpr
Initial value:
=
sizeof(test<T>(nullptr)) == sizeof(std::int8_t)

Definition at line 35 of file is_invocable_impl.hpp.


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