cptr::basic_ptr::operator*

The object pointed to. Like operator->, it skips the null check, so the pointer must not be null.

Synopsis

Declared in <cptr/ptr.hpp>

template<class U = T>
requires (!std::is_void_v<U>)
U&
operator*() const noexcept;