BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstl::Variant_IsAlternativeConstructibleFrom< t_VARIANT, t_TYPE, t_INDEX > Struct Template Reference

#include <bslstl_variant.h>

Inheritance diagram for bslstl::Variant_IsAlternativeConstructibleFrom< t_VARIANT, t_TYPE, t_INDEX >:
bsl::integral_constant< t_TYPE, t_VAL >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< t_TYPE, t_VAL >
typedef t_TYPE value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< t_TYPE, t_VAL >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from bsl::integral_constant< t_TYPE, t_VAL >
static const t_TYPE value = t_VAL
 

Detailed Description

template<class t_VARIANT, class t_TYPE, size_t t_INDEX = BSLSTL_VARIANT_CONVERT_INDEX_OF(t_TYPE, t_VARIANT)>
struct bslstl::Variant_IsAlternativeConstructibleFrom< t_VARIANT, t_TYPE, t_INDEX >

This component-private metafunction is derived from bsl::true_type if there is a unique best match alternative in (template parameter) t_VARIANT for 'std::declval<t_TYPE>() and that alternative is constructible from std::declval<t_TYPE>(), andbsl::false_type' otherwise.


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