scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::detail::ranges::_pair_like_concept Struct Reference

#include <ranges.h>

Public Member Functions

template<typename T >
auto _test_requires (T t) -> decltype(requires_expr< std::is_base_of< std::integral_constant< std::size_t, 2 >, std::tuple_size< T >>::value >
 
 std::declval ()
 
 std::declval ()
 

Static Public Member Functions

template<typename >
static auto test (long) -> std::false_type
 
template<typename T , typename = typename std::tuple_size<T>::type>
static auto test (int) -> typename std::enable_if< _requires< _pair_like_concept, T >::value, std::true_type >::type
 

Detailed Description

Definition at line 920 of file ranges.h.

Member Function Documentation

template<typename T >
auto scn::detail::ranges::_pair_like_concept::_test_requires ( t) -> decltype( requires_expr< std::is_base_of<std::integral_constant<std::size_t, 2>, std::tuple_size<T>>::value>
inline

Definition at line 930 of file ranges.h.

scn::detail::ranges::_pair_like_concept::std::declval ( )
scn::detail::ranges::_pair_like_concept::std::declval ( )
template<typename >
static auto scn::detail::ranges::_pair_like_concept::test ( long  ) -> std::false_type
static
template<typename T , typename = typename std::tuple_size<T>::type>
static auto scn::detail::ranges::_pair_like_concept::test ( int  ) -> typename std::enable_if< _requires< _pair_like_concept, T >::value, std::true_type >::type
static

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