5 #ifndef DUNE_COMMON_STD_FUNCTIONAL_HH 6 #define DUNE_COMMON_STD_FUNCTIONAL_HH 10 #include <dune-common-config.hh> 24 #if DUNE_HAVE_CXX_STD_IDENTITY 26 #else //DUNE_HAVE_CXX_STD_IDENTITY 29 constexpr T&&
operator()(T&& t )
const noexcept {
return std::forward<T>(t);}
36 #endif // #ifndef DUNE_COMMON_STD_FUNCTIONAL_HH A function object type whose operator() returns its argument unchanged.
Definition: functional.hh:27
Dune namespace
Definition: alignedallocator.hh:12
constexpr T && operator()(T &&t) const noexcept
Definition: functional.hh:29