get overloads

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

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

T const*
get() const;

Return Value

  • A pointer to the wrapped T.

  • A const pointer to the wrapped T.

Created with MrDocs