SIRIUS 7.5.0
Electronic structure library and applications
Static Public Attributes | Private Types | Static Private Attributes | List of all members
detail::is_range< T > Struct Template Reference

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
 

Detailed Description

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

Definition at line 3656 of file nlohmann_json.hpp.

Member Typedef Documentation

◆ t_ref

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

Definition at line 3659 of file nlohmann_json.hpp.

◆ iterator

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

Definition at line 3661 of file nlohmann_json.hpp.

◆ sentinel

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

Definition at line 3662 of file nlohmann_json.hpp.

Member Data Documentation

◆ is_iterator_begin

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

Definition at line 3667 of file nlohmann_json.hpp.

◆ value

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

Definition at line 3671 of file nlohmann_json.hpp.


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