BloombergLP::bslstl::SharedPtr_IsPointerCompatible

Forward declaration of component-private type trait to indicate whether a pointer to a SOURCE_TYPE is compatible with a pointer to DEST_TYPE. [util.smartptr.shared]/5 says: "for the purposes of ..., a pointer type SOURCE_TYPE* is said to be compatible with a pointer type DEST_TYPE* when either SOURCE_TYPE* is convertible to DEST_TYPE* or SOURCE_TYPE is U[N]and DEST_TYPE is cv U[]."

Synopsis

Declared in <bslstl_sharedptr.h>

template<
    class SOURCE_TYPE,
    class DEST_TYPE>
struct SharedPtr_IsPointerCompatible
    : /* implementation-defined */::type

Base Classes

NameDescription
/* implementation-defined */::type