Niels Lohmann
2b0d696f4a
🔀 merge develop
2021-02-10 07:28:18 +01:00
Niels Lohmann
c9e66df00c
👷 add CI steps for disabled exceptions and implicit conversions
2021-02-08 21:00:37 +01:00
Niels Lohmann
91475eeff1
👷 add CI step for coverage
2021-01-31 17:57:27 +01:00
Niels Lohmann
21a193c69b
👷 add CI step for coverage
2021-01-31 15:50:25 +01:00
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
74cc0ab470
♻️ remove diagnostics_t class
2021-01-25 13:47:50 +01:00
Niels Lohmann
e8dba10f53
✅ add test
2021-01-24 17:45:48 +01:00
Niels Lohmann
380a613f2b
🐛 fix bug in diagnostics_t
2021-01-23 20:58:59 +01:00
Niels Lohmann
51ac6000d2
✅ improve coverage
2021-01-21 13:36:23 +01:00
Niels Lohmann
33379684b4
✅ improve coverage
2021-01-17 22:52:40 +01:00
Niels Lohmann
5ec0980514
💚 fix build
2021-01-17 16:51:14 +01:00
Niels Lohmann
65107f7c9d
💚 fix build
2021-01-17 13:32:36 +01:00
Niels Lohmann
aeecc09ba1
✅ add tests for diagnostics
2021-01-16 15:33:19 +01:00
Niels Lohmann
a83404525e
🚨 fix warnings
2021-01-10 13:39:36 +01:00
Niels Lohmann
e160749003
♻️ move diagnostic code in header
2021-01-09 19:21:18 +01:00
Niels Lohmann
7cdf34b21e
Merge branch 'develop' of https://github.com/nlohmann/json into diagnostics
2021-01-08 10:20:34 +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
294fa343d5
🐛 fix bug in move constructor
2021-01-03 20:06:32 +01:00
Niels Lohmann
ec0b1798bc
🚧 implement more parent relations
2021-01-02 21:36:11 +01:00
Niels Lohmann
7323a8eb4e
🚧 add tests
2021-01-02 16:13:04 +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