Json.bol
constexpr Bol& bol() & ;
constexpr Bol&& bol() && ;
constexpr const Bol& bol() const & ;
constexpr const Bol&& bol() const && ;
Returns a reference to the internal Bol
value.
Return Value
Returns a const
/non-const
, lvalue/rvalue reference matching the object's qualification
Exceptions
Throws std::bad_variant_access
if the contained value is not a boolean
Complexity
Constant time O(1)
Version
Since v3.0.0 .