Create a Json_Initializer holding the specified integral value.
Synopsis
Declared in <bdljsn_json.h>
template<class t_INTEGRAL>
Json_Initializer(t_INTEGRAL value)
requires bsl::is_integral<t_INTEGRAL> ::value
&& !bsl::is_same<t_INTEGRAL, bool>::value;
Description
Create a Json_Initializer object containing the value of the specified value in the internal variant. If value is a signed integral type, then the value is stored as a long long. If value is an unsigned integral type, then the value is stored as an unsigned long long.
Parameters
Name |
Description |
value |
integral value to store |
Created with MrDocs