Quick Links: |
#include <bslstl_optional.h>
Public Types | |
typedef bool | value_type |
typedef integral_constant | type |
Public Member Functions | |
BSLS_KEYWORD_CONSTEXPR | operator value_type () const BSLS_KEYWORD_NOEXCEPT |
Static Public Attributes | |
static BSLS_KEYWORD_CONSTEXPR_MEMBER bool | value |
This metafunction is derived from bsl::true_type
if TYPE
is an allocator-aware const type, and if ANY_TYPE
is the same as TYPE
, minus the cv qualification. This trait is used to enable a constructor overload for a const qualified allocator-aware ValueType
taking an rvalue of optional of the non-const qualified ValueType
. Such an overload needs to propagate the allocator.
typedef bool bsl::integral_constant< bool , t_VAL >::value_type [inherited] |
typedef integral_constant bsl::integral_constant< bool , t_VAL >::type [inherited] |
BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< bool , t_VAL >::operator value_type | ( | ) | const [inherited] |
Return t_VAL
.
BSLS_KEYWORD_CONSTEXPR_MEMBER bool bsl::integral_constant< bool , t_VAL >::value [static, inherited] |