I know lvalues can be converted into const reference. I'm curious if I can get a pointer to those lvalues.
If I write
const int* p = &3; //ERROR: lvalue required as unary operand '&'
I get this error. However,
const int* p = &((const int&)3);
this compiles. In this case, is the result of *p guaranteed to be 3?