#include <iostream>
using namespace std;
void f(const int& x)
{
}
int g()
{
int x = 0;
return x;
}
int main() {
f(g());
}
If i remove the const from f it doesnt work; What does this mean, is the temporary returned from g a const???