diff --git a/src/detail/conversions/from_json.hpp b/src/detail/conversions/from_json.hpp index 64668814d9..f7eede2195 100644 --- a/src/detail/conversions/from_json.hpp +++ b/src/detail/conversions/from_json.hpp @@ -1,12 +1,13 @@ #ifndef NLOHMANN_JSON_DETAIL_CONVERSIONS_FROM_JSON_HPP #define NLOHMANN_JSON_DETAIL_CONVERSIONS_FROM_JSON_HPP -#include // transform -#include // array +#include // transform +#include // array +#include // and, not #include // forward_list -#include // inserter, front_inserter, end -#include // string -#include // tuple, make_tuple +#include // inserter, front_inserter, end +#include // string +#include // tuple, make_tuple #include // is_arithmetic, is_same, is_enum, underlying_type, is_convertible #include // pair, declval diff --git a/src/detail/conversions/to_json.hpp b/src/detail/conversions/to_json.hpp index 2855513575..a5ec6beda2 100644 --- a/src/detail/conversions/to_json.hpp +++ b/src/detail/conversions/to_json.hpp @@ -1,11 +1,12 @@ #ifndef NLOHMANN_JSON_DETAIL_CONVERSIONS_TO_JSON_HPP #define NLOHMANN_JSON_DETAIL_CONVERSIONS_TO_JSON_HPP +#include // or, and, not #include // begin, end +#include // tuple, get #include // is_same, is_constructible, is_floating_point, is_enum, underlying_type -#include // vector -#include // tuple, get #include // move, forward, declval, pair +#include // vector #include "detail/meta.hpp" #include "detail/value_t.hpp" diff --git a/src/detail/iterators/iter_impl.hpp b/src/detail/iterators/iter_impl.hpp index 80dd89c248..a306d4cd44 100644 --- a/src/detail/iterators/iter_impl.hpp +++ b/src/detail/iterators/iter_impl.hpp @@ -1,6 +1,7 @@ #ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP #define NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP +#include // not #include // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next #include // conditional, is_const, remove_const diff --git a/src/detail/iterators/primitive_iterator.hpp b/src/detail/iterators/primitive_iterator.hpp index 8a72e6f298..c0fd7b7d02 100644 --- a/src/detail/iterators/primitive_iterator.hpp +++ b/src/detail/iterators/primitive_iterator.hpp @@ -1,9 +1,10 @@ #ifndef NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP #define NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP +#include // not #include // ptrdiff_t +#include // numeric_limits #include // ostream -#include // numeric_limits namespace nlohmann { diff --git a/src/detail/macro_scope.hpp b/src/detail/macro_scope.hpp index 3146ac1eea..23edad5605 100644 --- a/src/detail/macro_scope.hpp +++ b/src/detail/macro_scope.hpp @@ -1,6 +1,8 @@ #ifndef NLOHMANN_JSON_MACRO_SCOPE_HPP #define NLOHMANN_JSON_MACRO_SCOPE_HPP +#include // not + // This file contains all internal macro definitions // You MUST include macro_unscope.hpp at the end of json.hpp to undef all of them diff --git a/src/detail/meta.hpp b/src/detail/meta.hpp index fe6fb9721e..8883cbd108 100644 --- a/src/detail/meta.hpp +++ b/src/detail/meta.hpp @@ -1,6 +1,7 @@ #ifndef NLOHMANN_JSON_DETAIL_META_HPP #define NLOHMANN_JSON_DETAIL_META_HPP +#include // not #include // size_t #include // numeric_limits #include // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type diff --git a/src/detail/serializer.hpp b/src/detail/serializer.hpp index 3b886c453a..9690e4b657 100644 --- a/src/detail/serializer.hpp +++ b/src/detail/serializer.hpp @@ -1,17 +1,18 @@ #ifndef NLOHMANN_JSON_DETAIL_SERIALIZER_HPP #define NLOHMANN_JSON_DETAIL_SERIALIZER_HPP -#include // reverse, remove, fill, find, none_of -#include // array -#include // assert -#include // localeconv, lconv -#include // labs, isfinite, isnan, signbit -#include // size_t, ptrdiff_t -#include // uint8_t -#include // snprintf -#include // next -#include // numeric_limits -#include // string +#include // reverse, remove, fill, find, none_of +#include // array +#include // assert +#include // and, or +#include // localeconv, lconv +#include // labs, isfinite, isnan, signbit +#include // size_t, ptrdiff_t +#include // uint8_t +#include // snprintf +#include // next +#include // numeric_limits +#include // string #include // is_same #include "detail/macro_scope.hpp" diff --git a/src/detail/value_t.hpp b/src/detail/value_t.hpp index 4db1618388..f4f4d67023 100644 --- a/src/detail/value_t.hpp +++ b/src/detail/value_t.hpp @@ -1,6 +1,7 @@ #ifndef NLOHMANN_JSON_DETAIL_VALUE_T_HPP #define NLOHMANN_JSON_DETAIL_VALUE_T_HPP +#include // and #include // uint8_t namespace nlohmann diff --git a/src/json.hpp b/src/json.hpp index 7d39dc5bc0..42e882846d 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -30,7 +30,7 @@ SOFTWARE. #define NLOHMANN_JSON_HPP #include // all_of, find, for_each -#include // assert +#include // assert #include // and, not, or #include // nullptr_t, ptrdiff_t, size_t #include // hash, less