#include <bsoncxx/v1/types/view.hpp>
BSON type value "Boolean".
Public Member Functions | |
| b_bool ()=default | |
| Zero-initialize the represented value. | |
| b_bool (bool value) | |
| Initialize with value. | |
| operator bool () const | |
| Implicitly convert to value. | |
Public Attributes | |
| bool | value = false |
| The represented value. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_bool |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_bool const &lhs, b_bool const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_bool const &lhs, b_bool const &rhs) |
| Equivalent to lhs.value == rhs.value. | |
|
default |
Zero-initialize the represented value.
|
inlineexplicit |
Initialize with value.
|
inline |
Implicitly convert to value.
Equivalent to lhs.value == rhs.value.
|
staticconstexpr |
The type represented by this BSON type value.
| bool bsoncxx::v1::types::b_bool::value = false |
The represented value.