Skip to content

Commit ab9334d

Browse files
committed
docs: improve FAQ wording per gregmarr's review suggestion
Clarify that JSON_BRACE_INIT_COPY_SEMANTICS replaces the compiler-dependent behavior rather than just "not creating an array".
1 parent feb3dad commit ab9334d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/mkdocs/docs/home/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for objects.
4646

4747
**Opt-in copy semantics (since version 3.12.0)**
4848

49-
If you define `JSON_BRACE_INIT_COPY_SEMANTICS` to `1` before including the library, single-element brace initialization is treated as copy/move instead of creating a single-element array:
49+
If you define `JSON_BRACE_INIT_COPY_SEMANTICS` to `1` before including the library, single-element brace initialization is treated as copy/move instead of being compiler-dependent whether it does that or creates a single-element array:
5050

5151
```cpp
5252
#define JSON_BRACE_INIT_COPY_SEMANTICS 1

0 commit comments

Comments
 (0)