llvm::identity

Function object that returns its argument unchanged.

Synopsis

Declared in <llvm/ADT/STLForwardCompat.h>

struct identity;

Type Aliases

NameDescription
is_transparent Marker type indicating transparent function-object behavior.

Member Functions

NameDescription
operator() Forward self unchanged.