Public Types | Public Member Functions | List of all members
identityOp Struct Reference

A functor that returns its argument unchanged (cf. C++20 std::identity) Should never be specialized. More...

Public Types

using is_transparent = void
 

Public Member Functions

template<class T >
constexpr T && operator() (T &&val) const noexcept
 

Detailed Description

A functor that returns its argument unchanged (cf. C++20 std::identity) Should never be specialized.

Definition at line 89 of file stdFoam.H.

Member Typedef Documentation

◆ is_transparent

using is_transparent = void

Definition at line 91 of file stdFoam.H.

Member Function Documentation

◆ operator()()

constexpr T&& operator() ( T &&  val) const
inlinenoexcept

Definition at line 94 of file stdFoam.H.


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