|
template<typename ReturnType , std::size_t CurIndex, std::size_t ElemCount, typename Visitor , typename Variant , typename... VisitorArgs> |
ReturnType | apply_visitor_impl (Visitor &&, Variant &, std::true_type, std::false_type, VisitorArgs &&...) |
|
template<typename ReturnType , std::size_t CurIndex, std::size_t ElemCount, typename Visitor , typename Variant , typename... VisitorArgs> |
void | apply_visitor_impl (Visitor &&, Variant &, std::true_type, std::true_type, VisitorArgs &&...) |
|
template<typename ReturnType , std::size_t CurIndex, std::size_t ElemCount, typename Visitor , typename Variant , bool no_return_value, typename... VisitorArgs> |
std::enable_if<!std::is_base_of< visitor_interface, typename std::decay< Visitor >::type >::value, ReturnType >::type | apply_visitor_impl (Visitor &&visitor, Variant &&v, std::false_type not_processed, std::integral_constant< bool, no_return_value > should_no_return, VisitorArgs &&...args) |
|
template<typename ReturnType , std::size_t CurIndex, std::size_t ElemCount, typename Visitor , typename Variant , bool no_return_value, typename... VisitorArgs> |
std::enable_if< std::is_base_of< visitor_interface, typename std::decay< Visitor >::type >::value, ReturnType >::type | apply_visitor_impl (Visitor &&visitor, Variant &&v, std::false_type not_processed, std::integral_constant< bool, no_return_value > should_no_return, VisitorArgs &&...args) |
|
template<std::size_t CurIndex, typename ReturnType , typename Visitor , class Value , typename... VisitorArgs> |
std::enable_if< std::is_base_of< static_visitor< ReturnType, typename std::decay< Visitor >::type >, typename std::decay< Visitor >::type >::value, ReturnType >::type | invoke_class_visitor (Visitor &visitor, Value &&v, VisitorArgs &&...args) |
|
template<std::size_t CurIndex, typename ReturnType , typename Visitor , class Value , typename... VisitorArgs> |
std::enable_if< std::is_base_of< static_indexed_visitor< ReturnType, typename std::decay< Visitor >::type >, typename std::decay< Visitor >::type >::value, ReturnType >::type | invoke_class_visitor (Visitor &visitor, Value &&v, VisitorArgs &&...args) |
|