![]() |
libfilezilla
|
A function that acts like std::forward, but applies the value category of its first template parameter. More...
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | fz |
The namespace used by libfilezilla. | |
A function that acts like std::forward, but applies the value category of its first template parameter.
It can be used, for instance, to perfect forward the member of a struct according to the value category of the object that is the instance of that struct.
Inspired by Vittorio Romeo's proposal: https://vittorioromeo.info/Misc/fwdlike.html