documented and cleaned up headers (#314)
This commit is contained in:
parent
6d2b5e3771
commit
e385417047
2 changed files with 50 additions and 52 deletions
51
src/json.hpp
51
src/json.hpp
|
@ -29,32 +29,31 @@ SOFTWARE.
|
||||||
#ifndef NLOHMANN_JSON_HPP
|
#ifndef NLOHMANN_JSON_HPP
|
||||||
#define NLOHMANN_JSON_HPP
|
#define NLOHMANN_JSON_HPP
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm> // all_of, for_each, transform
|
||||||
#include <array>
|
#include <array> // array
|
||||||
#include <cassert>
|
#include <cassert> // assert
|
||||||
#include <cctype>
|
#include <cctype> // isdigit
|
||||||
#include <ciso646>
|
#include <ciso646> // and, not, or
|
||||||
#include <cmath>
|
#include <cmath> // isfinite, signbit
|
||||||
#include <cstddef>
|
#include <cstddef> // nullptr_t, ptrdiff_t, size_t
|
||||||
#include <cstdint>
|
#include <cstdint> // int64_t, uint64_t
|
||||||
#include <cstdlib>
|
#include <cstdlib> // strtod, strtof, strtold, strtoul
|
||||||
#include <cstring>
|
#include <functional> // function, hash, less
|
||||||
#include <functional>
|
#include <initializer_list> // initializer_list
|
||||||
#include <initializer_list>
|
#include <iomanip> // setw
|
||||||
#include <iomanip>
|
#include <iostream> // istream, ostream
|
||||||
#include <iostream>
|
#include <iterator> // advance, begin, bidirectional_iterator_tag, distance, end, inserter, iterator, iterator_traits, next, random_access_iterator_tag, reverse_iterator
|
||||||
#include <iterator>
|
#include <limits> // numeric_limits
|
||||||
#include <limits>
|
#include <locale> // locale, numpunct
|
||||||
#include <locale>
|
#include <map> // map
|
||||||
#include <map>
|
#include <memory> // addressof, allocator, allocator_traits, unique_ptr
|
||||||
#include <memory>
|
#include <numeric> // accumulate
|
||||||
#include <numeric>
|
#include <sstream> // stringstream
|
||||||
#include <sstream>
|
#include <stdexcept> // domain_error, invalid_argument, out_of_range
|
||||||
#include <stdexcept>
|
#include <string> // getline, stoi, string, to_string
|
||||||
#include <string>
|
#include <type_traits> // add_pointer, enable_if, is_arithmetic, is_base_of, is_const, is_constructible, is_convertible, is_floating_point, is_integral, is_nothrow_move_assignable, std::is_nothrow_move_constructible, std::is_pointer, std::is_reference, std::is_same, remove_const, remove_pointer, remove_reference
|
||||||
#include <type_traits>
|
#include <utility> // declval, forward, make_pair, move, pair, swap
|
||||||
#include <utility>
|
#include <vector> // vector
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
// exclude unsupported compilers
|
// exclude unsupported compilers
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
|
|
|
@ -29,32 +29,31 @@ SOFTWARE.
|
||||||
#ifndef NLOHMANN_JSON_HPP
|
#ifndef NLOHMANN_JSON_HPP
|
||||||
#define NLOHMANN_JSON_HPP
|
#define NLOHMANN_JSON_HPP
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm> // all_of, for_each, transform
|
||||||
#include <array>
|
#include <array> // array
|
||||||
#include <cassert>
|
#include <cassert> // assert
|
||||||
#include <cctype>
|
#include <cctype> // isdigit
|
||||||
#include <ciso646>
|
#include <ciso646> // and, not, or
|
||||||
#include <cmath>
|
#include <cmath> // isfinite, signbit
|
||||||
#include <cstddef>
|
#include <cstddef> // nullptr_t, ptrdiff_t, size_t
|
||||||
#include <cstdint>
|
#include <cstdint> // int64_t, uint64_t
|
||||||
#include <cstdlib>
|
#include <cstdlib> // strtod, strtof, strtold, strtoul
|
||||||
#include <cstring>
|
#include <functional> // function, hash, less
|
||||||
#include <functional>
|
#include <initializer_list> // initializer_list
|
||||||
#include <initializer_list>
|
#include <iomanip> // setw
|
||||||
#include <iomanip>
|
#include <iostream> // istream, ostream
|
||||||
#include <iostream>
|
#include <iterator> // advance, begin, bidirectional_iterator_tag, distance, end, inserter, iterator, iterator_traits, next, random_access_iterator_tag, reverse_iterator
|
||||||
#include <iterator>
|
#include <limits> // numeric_limits
|
||||||
#include <limits>
|
#include <locale> // locale, numpunct
|
||||||
#include <locale>
|
#include <map> // map
|
||||||
#include <map>
|
#include <memory> // addressof, allocator, allocator_traits, unique_ptr
|
||||||
#include <memory>
|
#include <numeric> // accumulate
|
||||||
#include <numeric>
|
#include <sstream> // stringstream
|
||||||
#include <sstream>
|
#include <stdexcept> // domain_error, invalid_argument, out_of_range
|
||||||
#include <stdexcept>
|
#include <string> // getline, stoi, string, to_string
|
||||||
#include <string>
|
#include <type_traits> // add_pointer, enable_if, is_arithmetic, is_base_of, is_const, is_constructible, is_convertible, is_floating_point, is_integral, is_nothrow_move_assignable, std::is_nothrow_move_constructible, std::is_pointer, std::is_reference, std::is_same, remove_const, remove_pointer, remove_reference
|
||||||
#include <type_traits>
|
#include <utility> // declval, forward, make_pair, move, pair, swap
|
||||||
#include <utility>
|
#include <vector> // vector
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
// exclude unsupported compilers
|
// exclude unsupported compilers
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
|
|
Loading…
Reference in a new issue