BDE 4.14.0 Production release
|
Provide a type trait for pointer semantics.
This component defines a tag type HasPointerSemantics
derived from bsl::true_type
to indicate that a type has pointer semantics, and from bsl::false_type
otherwise. A type has pointer-like semantics must define (at a minimum) operator*
and operator->
. All pointer types have pointer semantics; other types must explicitly add this trait, either with the macro BSLMF_NESTED_TRAIT_DECLARATION
, or by explicit template specialization.