- 29 Dec, 2020 1 commit
-
-
Niels Lohmann authored
Fix compilation of input_adapter(container) in edge cases
-
- 28 Dec, 2020 1 commit
-
-
Jaakko Moisio authored
This fixes a compilation issue with the library if trying to use containers that don't have non-member `begin()` and `end()` functions via ADL. This patch extends the `using std::begin` and `using std::end` declarations to also cover the return type deduction of the input_adapter() template specialization for containers. The previous implementation only enabled the detection of `std::begin()` and `std::end()` in the function body, making the specialization unusable for container types that only have member `begin()` and `end()` functions. It is not typical to have `using` declarations in the namespace scope in a header file. But a C++11 implementation can't rely on fully automatic return type deduction, and needs to rely on ADL enabled helper templates. To prevent the using declarations leaking, they are enclosed in another nested namespace.
-
- 26 Dec, 2020 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 21 Dec, 2020 1 commit
-
-
Niels Lohmann authored
Travis doesn't run any tests in C++17 mode
-
- 20 Dec, 2020 4 commits
-
-
Alexander Karzhenkov authored
-
Alexander Karzhenkov authored
-
Alexander Karzhenkov authored
-
Alexander Karzhenkov authored
-
- 19 Dec, 2020 1 commit
-
-
Alexander Karzhenkov authored
-
- 18 Dec, 2020 2 commits
-
-
Niels Lohmann authored
Doctest is updated to v2.4.3
-
Krylov Yaroslav authored
-
- 17 Dec, 2020 1 commit
-
-
Niels Lohmann authored
Fix warnings
-
- 16 Dec, 2020 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Do not unconditionally redefine C++14 constructs
-
Niels Lohmann authored
Clarify license of is_complete_type implementation
-
Niels Lohmann authored
Fix a shadowing warning
-
- 15 Dec, 2020 1 commit
-
-
Niels Lohmann authored
-
- 14 Dec, 2020 5 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
Add MAIN_PROJECT check for test and install options
-
Martin Stump authored
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
-
Niels Lohmann authored
-
- 13 Dec, 2020 1 commit
-
-
Martin Stump authored
-
- 12 Dec, 2020 6 commits
-
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Doctest is updated to v2.4.1
-
-
Niels Lohmann authored
-
Krylov Yaroslav authored
-
- 11 Dec, 2020 6 commits
-
-
Niels Lohmann authored
📝 add CPM.Cmake example -
Niels Lohmann authored
Change argument name "subtype" in byte_container_with_subtype
-
Sergey Linev authored
-
Niels Lohmann authored
Fix move constructor of json_ref
-
Niels Lohmann authored
Add asserts to suppress C28020
-
Niels Lohmann authored
Ranged insert test section is added in unit-ordered_json.cpp
-
- 09 Dec, 2020 2 commits
-
-
Martin Stump authored
-
Martin Stump authored
-
- 07 Dec, 2020 2 commits
-
-
Krylov Yaroslav authored
-
Krylov Yaroslav authored
-