tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
identity Struct Reference

etl::identity is a function object type whose operator() returns its argument unchanged. More...

#include <identity.hpp>

Public Types

using is_transparent = void
 

Public Member Functions

template<typename T>
constexpr auto operator() (T &&t) const noexcept -> T &&
 

Detailed Description

etl::identity is a function object type whose operator() returns its argument unchanged.

Member Typedef Documentation

◆ is_transparent

using is_transparent = void

Member Function Documentation

◆ operator()()

template<typename T>
auto operator() ( T && t) const -> T&&
inlinenodiscardconstexprnoexcept

The documentation for this struct was generated from the following file: