Project
Loading...
Searching...
No Matches
nlohmann::detail Namespace Reference

detail namespace with internal helper functions More...

Namespaces

namespace  dtoa_impl
 implements the Grisu2 algorithm for binary to decimal floating-point conversion.
 

Classes

struct  conjunction
 
struct  conjunction< B1 >
 
struct  conjunction< B1, Bn... >
 
class  exception
 general exception of the basic_json class More...
 
struct  has_from_json
 
struct  has_non_default_from_json
 
struct  has_to_json
 
struct  index_sequence
 
struct  internal_iterator
 an iterator value More...
 
class  invalid_iterator
 exception indicating errors with iterators More...
 
struct  is_basic_json
 
struct  is_basic_json< NLOHMANN_BASIC_JSON_TPL >
 
struct  is_basic_json_nested_type
 
struct  is_compatible_array_type
 
struct  is_compatible_complete_type
 
struct  is_compatible_integer_type
 
struct  is_compatible_integer_type_impl
 
struct  is_compatible_integer_type_impl< true, RealIntegerType, CompatibleNumberIntegerType >
 
struct  is_compatible_object_type
 
struct  is_compatible_object_type_impl
 
struct  is_compatible_object_type_impl< true, RealType, CompatibleObjectType >
 
struct  is_compatible_type
 
struct  is_complete_type
 
struct  is_complete_type< T, decltype(void(sizeof(T)))>
 
class  iter_impl
 a template for a bidirectional iterator for the basic_json class More...
 
class  iteration_proxy
 proxy class for the items() function More...
 
class  json_reverse_iterator
 a template for a reverse iterator class More...
 
struct  make_index_sequence
 
struct  make_index_sequence< 0 >
 
struct  make_index_sequence< 1 >
 
struct  merge_and_renumber
 
struct  merge_and_renumber< index_sequence< I1... >, index_sequence< I2... > >
 
struct  negation
 
class  other_error
 exception indicating other library errors More...
 
class  out_of_range
 exception indicating access out of the defined range More...
 
class  output_adapter
 
struct  output_adapter_protocol
 abstract output adapter interface More...
 
class  output_stream_adapter
 output adapter for output streams More...
 
class  output_string_adapter
 output adapter for basic_string More...
 
class  output_vector_adapter
 output adapter for byte vectors More...
 
class  parse_error
 exception indicating a parse error More...
 
class  parser
 syntax analysis More...
 
class  primitive_iterator_t
 
struct  priority_tag
 
struct  priority_tag< 0 >
 
struct  static_const
 
class  type_error
 exception indicating executing a member function with a wrong type More...
 

Typedefs

template<bool B, typename T = void>
using enable_if_t = typename std::enable_if< B, T >::type
 
template<typename T >
using uncvref_t = typename std::remove_cv< typename std::remove_reference< T >::type >::type
 
template<typename... Ts>
using index_sequence_for = make_index_sequence< sizeof...(Ts)>
 
template<typename CharType >
using output_adapter_t = std::shared_ptr< output_adapter_protocol< CharType > >
 a type to simplify interfaces
 

Functions

 NLOHMANN_JSON_HAS_HELPER (mapped_type)
 
 NLOHMANN_JSON_HAS_HELPER (key_type)
 
 NLOHMANN_JSON_HAS_HELPER (value_type)
 
 NLOHMANN_JSON_HAS_HELPER (iterator)
 

Detailed Description

detail namespace with internal helper functions

This namespace collects functions that should not be exposed, implementations of some basic_json methods, and meta-programming helpers.

Since
version 2.1.0

Typedef Documentation

◆ enable_if_t

template<bool B, typename T = void>
using nlohmann::detail::enable_if_t = typedef typename std::enable_if<B, T>::type

Definition at line 281 of file json.h.

◆ index_sequence_for

template<typename... Ts>
using nlohmann::detail::index_sequence_for = typedef make_index_sequence<sizeof...(Ts)>

Definition at line 320 of file json.h.

◆ output_adapter_t

template<typename CharType >
using nlohmann::detail::output_adapter_t = typedef std::shared_ptr<output_adapter_protocol<CharType> >

a type to simplify interfaces

Definition at line 4475 of file json.h.

◆ uncvref_t

template<typename T >
using nlohmann::detail::uncvref_t = typedef typename std::remove_cv<typename std::remove_reference<T>::type>::type

Definition at line 284 of file json.h.

Function Documentation

◆ NLOHMANN_JSON_HAS_HELPER() [1/4]

nlohmann::detail::NLOHMANN_JSON_HAS_HELPER ( iterator  )

◆ NLOHMANN_JSON_HAS_HELPER() [2/4]

nlohmann::detail::NLOHMANN_JSON_HAS_HELPER ( key_type  )

◆ NLOHMANN_JSON_HAS_HELPER() [3/4]

nlohmann::detail::NLOHMANN_JSON_HAS_HELPER ( mapped_type  )

◆ NLOHMANN_JSON_HAS_HELPER() [4/4]

nlohmann::detail::NLOHMANN_JSON_HAS_HELPER ( value_type  )