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*();

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

T const&
operator*() const;

Return Value

  • A reference to the wrapped T.

  • A const reference to the wrapped T.

Created with MrDocs