BloombergLP::bslstl::Variant_IsCopyAssignableAll

This component-private metafunction is derived from bsl::true_type if all template parameters are copy assignable, and bsl::false_type otherwise.

Synopsis

Declared in <bslstl_variant.h>

template<
    class t_HEAD,
    class... t_TAIL>
struct Variant_IsCopyAssignableAll
    : bsl::integral_constant<bool, std::is_copy_assignable<t_HEAD>::value && Variant_IsCopyAssignableAll<t_TAIL...>::value>

Base Classes

NameDescription
bsl::integral_constant<bool, std::is_copy_assignable<t_HEAD>::value && Variant_IsCopyAssignableAll<t_TAIL...>::value>Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE.

Type Aliases

NameDescription
type Alias for this integral_constant specialization.
value_type

Member Functions

NameDescription
operator() Return a copy of the template argument t_VALUE.
operator value_type

Static Data Members

Name
value

Specializations

Name
Variant_IsCopyAssignableAll<t_HEAD>