Returns the argument unchanged.
Synopsis
Declared in <folly/Utility.h>
template<class T>
constexpr
T&&
identity(T&& x) noexcept;
|
Note
|
This function is defined as an Algorithm Function Object (AFO). |
Return Value
The argument, forwarded unchanged.
Parameters
Name |
Description |
x |
The value to pass through. |
Created with MrDocs