Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Static Public Attributes

bslstl::Optional_ConstructsFromType< TYPE, ANY_TYPE > Struct Template Reference

#include <bslstl_optional.h>

Inheritance diagram for bslstl::Optional_ConstructsFromType< TYPE, ANY_TYPE >:
bsl::integral_constant< bool,!bsl::is_same< ANY_TYPE, TYPE >::value &&!bslmf::IsAccessibleBaseOf< bsl::optional< TYPE >, bsl::remove_cvref< ANY_TYPE >::type >::value &&!bsl::is_same< bsl::remove_cvref< ANY_TYPE >::type, bsl::nullopt_t >::value &&!bsl::is_same< bsl::remove_cvref< ANY_TYPE >::type, bsl::in_place_t >::value &&!bsl::is_same< bsl::remove_cvref< ANY_TYPE >::type, bsl::allocator_arg_t >::value &&std::is_constructible< TYPE, ANY_TYPE >::value >

List of all members.

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

Detailed Description

template<class TYPE, class ANY_TYPE>
struct bslstl::Optional_ConstructsFromType< TYPE, ANY_TYPE >

This metafunction is derived from bsl::true_type if ANY_TYPE is not a tag type, if ANY_TYPE and TYPE are not a same type, and if TYPE is constructible from ANY_TYPE.

See Component bslstl_optional


Member Typedef Documentation

typedef bool bsl::integral_constant< bool , t_VAL >::value_type [inherited]
typedef integral_constant bsl::integral_constant< bool , t_VAL >::type [inherited]

Member Function Documentation

BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< bool , t_VAL >::operator value_type (  )  const [inherited]

Return t_VAL.


Member Data Documentation

BSLS_KEYWORD_CONSTEXPR_MEMBER bool bsl::integral_constant< bool , t_VAL >::value [static, inherited]

The documentation for this struct was generated from the following file: