bsl::weak_ptr::rep

Return the address of the held representation, or null if empty.

Synopsis

Declared in <bslstl_sharedptr.h>

BloombergLP::bslma::SharedPtrRep*
rep() const noexcept;

Description

Return the address providing modifiable access to the BloombergLP::bslma::SharedPtrRep object held by this weak pointer, or 0 if this weak pointer is in the empty state.

Return Value

address of the held representation, or null if empty