I was going through the link on reference qualified member function. My question is, if I have something like below:
struct S
{
void f()
{
cout << "hello" << "\n";
}
};
Now I can call function f like S().f(); Is it going to be treated as rvalue referenced? If I call same function like
S s;
s.f();
Is it going to be treated as lvalue referenced?