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

#include <ranges.h>

Public Member Functions

template<typename I >
auto _test_requires (I i, const I j, const iter_difference_t< I > n) -> decltype(valid_expr(j+n, requires_expr< std::is_same< decltype(j+n), I >::value >
 

Static Public Member Functions

template<typename >
static auto test (long) -> std::false_type
 
template<typename I >
static auto test (int) -> typename std::enable_if< bidirectional_iterator< I >::value &&std::is_base_of< random_access_iterator_tag, iterator_category_t< I >>::value &&sized_sentinel_for< I, I >::value &&_requires< _random_access_iterator_concept, I >::value, std::true_type >::type
 

Public Attributes

n j
 
n j n
 
nj [n]
 

Detailed Description

Definition at line 1235 of file ranges.h.

Member Function Documentation

template<typename I >
auto scn::detail::ranges::_random_access_iterator_concept::_test_requires ( i,
const I  j,
const iter_difference_t< I >  n 
) -> decltype(valid_expr( j + n, requires_expr< std::is_same<decltype(j + n), I>::value>
inline

Definition at line 1237 of file ranges.h.

template<typename >
static auto scn::detail::ranges::_random_access_iterator_concept::test ( long  ) -> std::false_type
static
template<typename I >
static auto scn::detail::ranges::_random_access_iterator_concept::test ( int  ) -> typename std::enable_if< bidirectional_iterator< I >::value &&std::is_base_of< random_access_iterator_tag, iterator_category_t< I >>::value &&sized_sentinel_for< I, I >::value &&_requires< _random_access_iterator_concept, I >::value, std::true_type >::type
static

Member Data Documentation

n scn::detail::ranges::_random_access_iterator_concept::j

Definition at line 1243 of file ranges.h.

n j scn::detail::ranges::_random_access_iterator_concept::j[n]

Definition at line 1251 of file ranges.h.

n j scn::detail::ranges::_random_access_iterator_concept::n

Definition at line 1247 of file ranges.h.


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