bsl::weak_ptr::weak_ptr

Create a weak pointer in the empty state and referring to no object, i.e., a weak pointer having no representation.

Synopsis

Declared in <bslstl_sharedptr.h>

constexpr
weak_ptr() noexcept;