#include <iostream>
template<class T, std::enable_if_t<!std::is_reference<T>::value, bool> = true>
using rval = T;
template<class T>
void f(rval<T>&&)
{
std::cout << "rvalue_reference\n";
}
template<class T>
void f(T&)
{
std::cout << "lvalue_reference\n";
}
int main()
{
int i = 0;
f(0);
f(i);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGU8Y2xhc3MgVCwgc3RkOjplbmFibGVfaWZfdDwhc3RkOjppc19yZWZlcmVuY2U8VD46OnZhbHVlLCBib29sPiA9IHRydWU+CnVzaW5nIHJ2YWwgPSBUOwoKdGVtcGxhdGU8Y2xhc3MgVD4Kdm9pZCBmKHJ2YWw8VD4mJikKewogICAgc3RkOjpjb3V0IDw8ICJydmFsdWVfcmVmZXJlbmNlXG4iOwp9Cgp0ZW1wbGF0ZTxjbGFzcyBUPgp2b2lkIGYoVCYpCnsKICAgIHN0ZDo6Y291dCA8PCAibHZhbHVlX3JlZmVyZW5jZVxuIjsKfQoKCmludCBtYWluKCkKewogICAgaW50IGkgPSAwOwogICAgZigwKTsKICAgIGYoaSk7CiAgICByZXR1cm4gMDsKfQ==