Open pgbovine opened 4 years ago
too tired to debug now ... C++ example:
#include <utility> template <typename T> void foo(T&& t) { } int x = 5; int* px = &x; int& rx = x; int&& rrx = std::move(x); int main() { foo(rx); }
too tired to debug now ... C++ example: