Commit Graph

1399 Commits

Author SHA1 Message Date
Niels Lohmann
4ba60702f4
🚨 fix warnings 2021-01-30 13:21:59 +01:00
Niels Lohmann
b66ebcc950
🚨 fix warnings 2021-01-30 12:50:36 +01:00
Niels Lohmann
37b8071123
🚨 fix warnings 2021-01-29 20:15:41 +01:00
Niels Lohmann
52aa607c87
🚨 fix warnings 2021-01-29 15:15:41 +01:00
Niels Lohmann
1101f0e359
🚨 fix warnings 2021-01-29 14:42:45 +01:00
Niels Lohmann
3393ce0478
🚨 fix warnings 2021-01-28 21:53:18 +01:00
Niels Lohmann
b5c5eaad5a
🚨 fix warnings 2021-01-28 20:00:59 +01:00
Niels Lohmann
e2868eed33
🚨 fix warnings 2021-01-28 19:42:53 +01:00
Niels Lohmann
95f50a3416
🚨 fix warnings 2021-01-28 17:17:15 +01:00
Niels Lohmann
bfd4c7c739
🚨 fix warnings 2021-01-28 17:10:52 +01:00
Niels Lohmann
09bf771fd4
🚨 fix warnings 2021-01-28 15:44:04 +01:00
Niels Lohmann
cdd6412ab2
🚨 fix warnings 2021-01-28 15:10:53 +01:00
Niels Lohmann
ae78c968cf
🎨 fix format 2021-01-28 14:46:46 +01:00
Niels Lohmann
28d5f863b3
🚨 fix warnings 2021-01-28 14:46:29 +01:00
Niels Lohmann
675f07f5e9
🚨 fix warnings 2021-01-28 13:51:43 +01:00
Niels Lohmann
2d175d94e7
🚨 fix warnings 2021-01-28 12:43:19 +01:00
Niels Lohmann
eba434a95a
🚨 fix warnings 2021-01-28 11:26:12 +01:00
Niels Lohmann
c243cd7abe
🚨 fix warnings 2021-01-28 11:18:56 +01:00
Niels Lohmann
10fc3520d7
🚨 fix warnings 2021-01-27 22:58:24 +01:00
Niels Lohmann
cb28e76aa4
🚨 fix warnings from Clang-Tidy 2021-01-27 22:48:04 +01:00
Niels Lohmann
e71daa1a51
Merge branch 'develop' of https://github.com/nlohmann/json into ci 2021-01-27 19:56:02 +01:00
Niels Lohmann
5b0c804630
🐛 properly assign two labels to one test case #2596 2021-01-27 14:22:58 +01:00
Niels Lohmann
d9bde8ef46
🔨 cleanup 2021-01-26 15:36:59 +01:00
Niels Lohmann
b2bc283433
⚗️ fix labels 2021-01-26 14:22:38 +01:00
Niels Lohmann
468dc58199
⚗️ only execute Valgrind tests 2021-01-26 14:09:35 +01:00
Niels Lohmann
b36f40b7d5
Merge branch 'develop' of https://github.com/nlohmann/json into ci 2021-01-03 21:58:39 +01:00
Niels Lohmann
01f6b2e741
📄 update copyright year 2021-01-03 20:54:17 +01:00
Niels Lohmann
f5856be30d
Merge branch 'develop' of https://github.com/nlohmann/json into ci 2020-12-31 14:56:03 +01:00
Niels Lohmann
581f92b601
Merge branch 'develop' of https://github.com/nlohmann/json into issue2324 2020-12-30 20:23:07 +01:00
Niels Lohmann
77f24509d4
🚨 fix warnings 2020-12-30 13:27:29 +01:00
Niels Lohmann
fc7e181cbf
⚗️ fix string representation 2020-12-29 22:21:31 +01:00
Niels Lohmann
bdb2469c31
🚨 fix warnings 2020-12-29 21:36:30 +01:00
Niels Lohmann
c886646707
🚨 fix warning 2020-12-29 21:04:41 +01:00
Niels Lohmann
4402176df5
add regression test 2020-12-29 20:52:57 +01:00
Niels Lohmann
e4fc598466
⚗️ add C++20 build 2020-12-29 20:45:56 +01:00
Niels Lohmann
433da31334
⚗️ try to use GCC 10 2020-12-29 20:16:51 +01:00
Niels Lohmann
7b98df515f
add regression test 2020-12-29 14:48:18 +01:00
Jaakko Moisio
467f622c65 Fix compilation of input_adapter(container) in edge cases
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.
2020-12-28 22:21:02 +01:00
Niels Lohmann
f15d447522
🚨 fix warnings 2020-12-26 14:55:19 +01:00
Alexander Karzhenkov
cd7acc1dc5 Include <string_view> in "nlohmann/json.hpp" when C++17 is used 2020-12-20 19:40:36 +05:00
Alexander Karzhenkov
39b8d6bd33 Restore intentionally disrupted C++17 tests 2020-12-20 12:43:35 +05:00
Alexander Karzhenkov
8247a217bb Disrupt all C++17 tests to check if they are executed 2020-12-19 18:58:49 +05:00
Krylov Yaroslav
a1772743a1
Doctest is updated to v2.4.3 2020-12-18 07:27:22 +03:00
Niels Lohmann
c026e1a475
🚨 fix warnings 2020-12-16 21:44:35 +01:00
Krylov Yaroslav
6390fca71a
Doctest is updated to v2.4.1 2020-12-12 05:27:03 +03:00
Krylov Yaroslav
972c15f26e
ordered_map::insert(InputIt first, InputIt last) is added 2020-12-07 20:15:41 +03:00
Krylov Yaroslav
5155cc2c48
Ranged insert test section is added in unit-ordered_json.cpp 2020-12-07 19:47:41 +03:00
Niels Lohmann
1047d09b2a
annotate non-reproducible tests #2324 2020-08-30 13:23:34 +02:00
Niels Lohmann
9d726c25d5
♻️ remove "#define private public" 2020-08-12 13:30:06 +02:00
Niels Lohmann
4080d0b1a4
add test to compile without exceptions 2020-08-10 09:48:11 +02:00