This struct template implements a meta‐function to determine whether a deprecation warning emitted for allocator‐aware types that have an implicit conversion constructor from Allocator*, should be suppressed for (template parameter) t_TYPE. This struct derives from bsl::true_type if the warning should be suppressed and from bsl::false_type otherwise. Note that this meta‐function is used for testing to disable the warnings generated by this component when deliberately testing the deprecated feature.

Synopsis

Declared in <bslma_usesbslmaallocator.h>

template<class t_TYPE>
struct SuppressesImplicitConvertibilityWarnings
    : bsl::false_type

Base Classes

Name

Description

bsl::false_type

Metafunction representing the boolean constant false.

Created with MrDocs