This commit is contained in:
nlohmann
2026-09-25 01:23:44 +00:00
parent dbc831a330
commit 1374e776a3
270 changed files with 604 additions and 531 deletions
File diff suppressed because one or more lines are too long
+1
View File
@@ -11,6 +11,7 @@ The complete default namespace name is derived as follows:
- [`JSON_DIAGNOSTICS`](https://json.nlohmann.me/api/macros/json_diagnostics/index.md) defined non-zero appends `_diag`.
- [`JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON`](https://json.nlohmann.me/api/macros/json_use_legacy_discarded_value_comparison/index.md) defined non-zero appends `_ldvcmp`.
- [`JSON_DIAGNOSTIC_POSITIONS`](https://json.nlohmann.me/api/macros/json_diagnostic_positions/index.md) defined non-zero appends `_dp`.
- [`JSON_BRACE_INIT_COPY_SEMANTICS`](https://json.nlohmann.me/api/macros/json_brace_init_copy_semantics/index.md) defined non-zero appends `_bics`.
- The inline namespace ends with the suffix `_v` followed by the 3 components of the version number separated by underscores. To omit the version component, see [Disabling the version component](#disabling-the-version-component) below.
For example, the namespace name for version 3.11.2 with `JSON_DIAGNOSTICS` defined to `1` is: