BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
nlohmann::detail::is_range< T > Struct Template Reference

#include <json.hpp>

Static Public Attributes

static constexpr bool value

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 = is_iterator_traits<iterator_traits<iterator>>::value

Detailed Description

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

Definition at line 3597 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 3602 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 3603 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 3600 of file json.hpp.

Member Data Documentation

◆ is_iterator_begin

template<typename T>
auto nlohmann::detail::is_range< T >::is_iterator_begin = is_iterator_traits<iterator_traits<iterator>>::value
staticconstexprprivate

Definition at line 3608 of file json.hpp.

◆ value

template<typename T>
bool nlohmann::detail::is_range< T >::value
staticconstexpr
Initial value:
=
!std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, nonesuch>::value && is_iterator_begin
static constexpr auto is_iterator_begin
Definition json.hpp:3608

Definition at line 3611 of file json.hpp.


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