[#BloombergLP-bslstl-SharedPtr_IsPointerCompatible] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::SharedPtr_IsPointerCompatible :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class SOURCE_TYPE, class DEST_TYPE> struct SharedPtr_IsPointerCompatible : /* implementation-defined */::type ---- == Base Classes [cols="1,4"] |=== | Name| Description | `/* implementation-defined */::type` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#