absl::NoDestructor::operator->

Member access 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 pointer to the wrapped T.
  • A const pointer to the wrapped T.