Commit 96c1b52
authored
Fix conversion to std::optional (#4742)
* ⚗️ remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* ⚗️ remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* ⚗️ remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* ⚗️ remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* ⚗️ remove JSON_USE_IMPLICIT_CONVERSIONS check for from_json(json, std::optional)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* ⚗️ add C++ standard library as matrix option
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* ⏪ remove inline
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
---------
Signed-off-by: Niels Lohmann <mail@nlohmann.me>1 parent 4cca3b9 commit 96c1b52
4 files changed
Lines changed: 55 additions & 14 deletions
File tree
- include/nlohmann/detail/conversions
- single_include/nlohmann
- tests/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 176 | | |
180 | 177 | | |
181 | 178 | | |
| |||
4817 | 4814 | | |
4818 | 4815 | | |
4819 | 4816 | | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
4820 | 4822 | | |
4821 | 4823 | | |
4822 | 4824 | | |
| |||
4832 | 4834 | | |
4833 | 4835 | | |
4834 | 4836 | | |
4835 | | - | |
4836 | 4837 | | |
4837 | 4838 | | |
4838 | 4839 | | |
| |||
4845 | 4846 | | |
4846 | 4847 | | |
4847 | 4848 | | |
4848 | | - | |
4849 | | - | |
4850 | 4849 | | |
4851 | 4850 | | |
4852 | 4851 | | |
| |||
5914 | 5913 | | |
5915 | 5914 | | |
5916 | 5915 | | |
5917 | | - | |
| 5916 | + | |
5918 | 5917 | | |
5919 | 5918 | | |
5920 | 5919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
390 | 398 | | |
391 | 399 | | |
392 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
393 | 414 | | |
394 | 415 | | |
395 | 416 | | |
| |||
1037 | 1058 | | |
1038 | 1059 | | |
1039 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1040 | 1083 | | |
1041 | 1084 | | |
1042 | 1085 | | |
0 commit comments