Dune Core Modules (unstable)

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.80.0 (Apr 30, 22:37, 2024)