cptr::basic_ptr::operator bool

True unless null.

Synopsis

Declared in <cptr/ptr.hpp>

constexpr
explicit
operator bool() const noexcept;

Return Value

The object converted to bool