absl::NoDestructor<T>

Provide 'Class Template Argument Deduction': the type of NoDestructor's T will be the same type as the argument passed to NoDestructor's constructor.

Synopsis

Declared in <absl/base/no_destructor.h>

template<typename T>
NoDestructor<T>(T) -> NoDestructor<T>;