A forwarding reference refers to a reference type that may either be an lvalue reference or an rvalue reference depending on its initializer.
If you read code like auto&& var = foo(); where foo is any function returning by value of type …
c++ c++11 auto forwarding-referenceAn argument to this function will bind to an rvalue reference: void f(int && i); However, an argument …
c++ templates perfect-forwarding universal-reference forwarding-referenceAssuming my current rule when programming with range-based loops says Use for(auto const &e :...) or for(auto &…
c++ c++11 for-loop universal-reference forwarding-reference