mirror of
https://github.com/nlohmann/json.git
synced 2026-09-16 21:27:58 +00:00
deploy: c72f37a40d
This commit is contained in:
@@ -10,6 +10,10 @@ The type used to store JSON booleans.
|
||||
|
||||
To store boolean values in C++, a type is defined by the template parameter `BooleanType` which chooses the type to use.
|
||||
|
||||
## Template parameters
|
||||
|
||||
`BooleanType` : the type to store booleans. As it is stored directly inside a `basic_json` value (in a union), it must be a trivially default-constructible, trivially copyable, and trivially destructible type that is convertible to and from `bool`. See [Template Parameter Requirements](https://json.nlohmann.me/features/types/template_parameters/#booleantype).
|
||||
|
||||
## Notes
|
||||
|
||||
#### Default type
|
||||
|
||||
Reference in New Issue
Block a user