Top "Universal-reference" questions

A forwarding reference refers to a reference type that may either be an lvalue reference or an rvalue reference depending on its initializer.

Is there a difference between universal references and forwarding references?

An argument to this function will bind to an rvalue reference: void f(int && i); However, an argument …

c++ templates perfect-forwarding universal-reference forwarding-reference
What does `auto && e` do in range-based for-loops?

Assuming 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