Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cargo::isVisitableHelper__< T > Struct Template Reference

#include <is-visitable.hpp>

Classes

struct  Visitor
 

Static Public Member Functions

template<typename C >
static std::true_type test (decltype(std::declval< C >().template accept(Visitor()))*)
 
template<typename C >
static std::false_type test (...)
 

Static Public Attributes

static constexpr bool value = std::is_same<decltype(test<T>(0)), std::true_type>::value
 

Member Function Documentation

template<typename T >
template<typename C >
static std::true_type cargo::isVisitableHelper__< T >::test ( decltype(std::declval< C >().template accept(Visitor()))*  )
static
template<typename T >
template<typename C >
static std::false_type cargo::isVisitableHelper__< T >::test (   ...)
static

Member Data Documentation

template<typename T >
constexpr bool cargo::isVisitableHelper__< T >::value = std::is_same<decltype(test<T>(0)), std::true_type>::value
static

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