Eclipse SUMO - Simulation of Urban MObility
nlohmann::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 iterator = detected_t< result_of_begin, t_ref >
 
using sentinel = detected_t< result_of_end, t_ref >
 
using t_ref = typename std::add_lvalue_reference< T >::type
 

Static Private Attributes

static constexpr auto is_iterator_begin
 

Detailed Description

template<typename T>
struct nlohmann::detail::is_range< T >

Definition at line 3557 of file json.hpp.

Member Typedef Documentation

◆ iterator

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

Definition at line 3562 of file json.hpp.

◆ sentinel

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

Definition at line 3563 of file json.hpp.

◆ t_ref

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

Definition at line 3560 of file json.hpp.

Field Documentation

◆ is_iterator_begin

template<typename T >
constexpr auto nlohmann::detail::is_range< T >::is_iterator_begin
staticconstexprprivate
Initial value:
=
is_iterator_traits<iterator_traits<iterator>>::value
static constexpr bool value
Definition: json.hpp:3572

Definition at line 3568 of file json.hpp.

◆ value

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

Definition at line 3572 of file json.hpp.


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