This commit is contained in:
nlohmann committed 2026-10-03 05:43:12 +00:00
1 parent 2aaa1d24ef
commit a410b4f40f
741 files changed
+8115 -2252

No files matched your search

+2 -2
View File
@@ -70,7 +70,7 @@ The default value is `0` (disabled — existing behavior is preserved).
## Examples
??? example "Default behavior (macro not defined)"
??? example "Example: default behavior (macro not defined)"
Without the macro, single-element brace initialization wraps the value in an array:
@@ -88,7 +88,7 @@ The default value is `0` (disabled — existing behavior is preserved).
}
```
??? example "Opt-in copy semantics (macro defined to 1)"
??? example "Example: opt-in copy semantics (macro defined to 1)"
With the macro, single-element brace initialization copies/moves the value: