Functor that returns whatever is passed to it unchanged.

Synopsis

Declared in <absl/types/any_span.h>

struct IdentityT;

Member Functions

Name

Description

operator()

Returns its argument unchanged.

Non-Member Functions

Name

Description

Identity

Returns a functor that returns whatever is passed to it.

Created with MrDocs