- 10 Jan, 2021 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 09 Jan, 2021 1 commit
-
-
Niels Lohmann authored
-
- 08 Jan, 2021 7 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
-
- 03 Jan, 2021 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 02 Jan, 2021 6 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 01 Jan, 2021 1 commit
-
-
Niels Lohmann authored
-
- 31 Dec, 2020 3 commits
-
-
Niels Lohmann authored
Add switch to skip non-reproducible tests.
-
Niels Lohmann authored
-
-
- 30 Dec, 2020 3 commits
-
-
Niels Lohmann authored
-
-
Niels Lohmann authored
Allow parsing from std::byte containers
-
- 29 Dec, 2020 12 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
-
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.
-