BloombergLP::bslma::ManagedPtr<TARGET_TYPE&>

Incomplete specialization that rejects ManagedPtr to reference types.

Synopsis

Declared in <bslma_managedptr.h>

template<class TARGET_TYPE>
class ManagedPtr<TARGET_TYPE&>;

Description

This specialization is declared but not defined, in order to provide an early compile-fail check to catch misuse of managed pointer to reference types, which is explicitly called out as not supported in the primary class template contract.