BDE 4.14.0 Production release
|
#include <bslstl_variant.h>
Public Types | |
typedef bsl::variant_alternative< t_INDEX, typenamebslmf::MovableRefUtil::RemoveReference< t_VARIANT >::type >::type | CVAlt |
Alternative at t_INDEX with combined cv-qualifiers. | |
typedef bsl::conditional< bslmf::MovableRefUtil::IsReference< t_VARIANT >::value, typenamebsl::conditional< bslmf::MovableRefUtil::IsMovableReference< t_VARIANT >::value, typenamebslmf::MovableRefUtil::AddMovableReference< CVAlt >::type, typenamebslmf::MovableRefUtil::AddLvalueReference< CVAlt >::type >::type, CVAlt >::type | type |
This component-private metafunction calculates the alternative type at index (template parameter) t_INDEX
in (template parameter) t_VARIANT
, where the cv- and ref-qualifiers of t_VARIANT
are added to the alternative type. This metafunction is used to calculate the return type of bsl::visit
.
typedef bsl::variant_alternative<t_INDEX,typenamebslmf::MovableRefUtil::RemoveReference<t_VARIANT>::type>::type bslstl::Variant_CVQualAlt< t_VARIANT, t_INDEX >::CVAlt |
typedef bsl::conditional<bslmf::MovableRefUtil::IsReference<t_VARIANT>::value,typenamebsl::conditional<bslmf::MovableRefUtil::IsMovableReference<t_VARIANT>::value,typenamebslmf::MovableRefUtil::AddMovableReference<CVAlt>::type,typenamebslmf::MovableRefUtil::AddLvalueReference<CVAlt>::type>::type,CVAlt>::type bslstl::Variant_CVQualAlt< t_VARIANT, t_INDEX >::type |