absl::NoDestructor::operator*

Dereference operators

Synopses

Declared in <absl/base/no_destructor.h>

Pretend to be a smart pointer to T with deep constness. Never returns a null pointer.

T&
operator*();
» more...

Pretend to be a smart pointer to const T with deep constness. Never returns a null pointer.

T const&
operator*() const;
» more...

Return Value

  • A reference to the wrapped T.
  • A const reference to the wrapped T.