BloombergLP::bslmf::IsTransparentPredicate

This struct template implements a meta-function to determine whether the (template parameter) t_COMPARATOR is transparent (has a publicly accessible member that is a type named is_transparent). This generic default template derives from bsl::false_type. Template specializations are provided (below) that derive from bsl::true_type.

Synopsis

Declared in <bslmf_istransparentpredicate.h>

template<
    class t_COMPARATOR,
    class t_KEY,
    class = void>
struct IsTransparentPredicate
    : bsl::false_type

Base Classes

NameDescription
bsl::false_typeMetafunction representing the boolean constant false.

Specializations

NameDescription
IsTransparentPredicate<t_COMPARATOR, t_KEY, bsl::void_t<t_COMPARATOR::is_transparent>> This specialization of IsTransparentPredicate, for when the (template parameter) t_COMPARATOR is transparent, derives from bsl::true_type.