Timer Console
Loading...
Searching...
No Matches
detail::is_range< T > Struct Template Reference

#include <json.hpp>

Static Public Attributes

static constexpr bool value = !std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, nonesuch>::value && is_iterator_begin
 

Private Types

using t_ref = typename std::add_lvalue_reference<T>::type
 
using iterator = detected_t<result_of_begin, t_ref>
 
using sentinel = detected_t<result_of_end, t_ref>
 

Static Private Attributes

static constexpr auto is_iterator_begin
 

Member Typedef Documentation

◆ iterator

template<typename T>
using detail::is_range< T >::iterator = detected_t<result_of_begin, t_ref>
private

◆ sentinel

template<typename T>
using detail::is_range< T >::sentinel = detected_t<result_of_end, t_ref>
private

◆ t_ref

template<typename T>
using detail::is_range< T >::t_ref = typename std::add_lvalue_reference<T>::type
private

Member Data Documentation

◆ is_iterator_begin

template<typename T>
auto detail::is_range< T >::is_iterator_begin
staticconstexprprivate
Initial value:
=
Definition json.hpp:3829
static constexpr bool value
Definition json.hpp:3862

◆ value

template<typename T>
bool detail::is_range< T >::value = !std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, nonesuch>::value && is_iterator_begin
staticconstexpr

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