The purpose of this sentence is to clarify that an expression of type i(where iis a variable) is not falsely regarded as a glvalue in contexts in which it is iimmediately converted to prvalue.
For example, in
int main() {
const int j = 0;
constexpr int i = j;
}
The second definition will be poorly formed if jit is considered the value of gl, since jit is not a valid result of a constant expression . However, it is jused as a prvalue, since initialization uses it as a whole, therefore, another rule is applied in the related paragraph (and the definition is correctly formed).
source
share