absl::nontype_t

Backfill for std::nontype_t.

Synopsis

Declared in <absl/utility/utility.h>

template<auto>
struct nontype_t;

Description

An instance of this class can be provided as a disambiguation tag to absl::function_ref to pass the address of a known callable at compile time. Requires C++20 due to auto template parameter.

Member Functions

NameDescription
nontype_t [constructor]Construct a nontype_t tag.