tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename T> | |
constexpr auto | forward (remove_reference_t< T > &¶m) noexcept -> T && |
template<typename T> | |
constexpr auto | forward (remove_reference_t< T > ¶m) noexcept -> T && |
Forwards lvalues as either lvalues or as rvalues, depending on T. When t is a forwarding reference (a function argument that is declared as an rvalue reference to a cv-unqualified function template parameter), this overload forwards the argument to another function with the value category it had when passed to the calling function. | |