Dune Core Modules (2.9.1)

Dune::Std::identity Struct Reference

A function object type whose operator() returns its argument unchanged. More...

#include <dune/common/std/functional.hh>

Detailed Description

A function object type whose operator() returns its argument unchanged.

Note
Equivalent to: return std::forward(t);
Warning
When passing r-values, the result must be, at most, used for direct consumption in an outer function call

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)