identityOp Struct Reference

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 75 of file stdFoam.H.

Member Typedef Documentation

◆ is_transparent

using is_transparent = void

Definition at line 77 of file stdFoam.H.

Member Function Documentation

◆ operator()()

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

Definition at line 80 of file stdFoam.H.

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