BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::SuppressesImplicitConvertibilityWarnings< t_TYPE > Struct Template Reference

#include <bslma_usesbslmaallocator.h>

Inheritance diagram for bslma::SuppressesImplicitConvertibilityWarnings< t_TYPE >:
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_TYPE>
struct bslma::SuppressesImplicitConvertibilityWarnings< t_TYPE >

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.


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