Seminar (10) C++ : Value Category
Value CategoryC++ 에서는 타입 뿐아니라 값에도 종류가 있습니다.어떤 값인가? 이게 무슨 말인지 살펴보겠습니다. 위처럼 값 표현식에는 총 5개로 나눠진 값들이 있습니다. glvalueA glvalue is an expression whose evaluation determines the identity of an object, bit-field, or function.어떤 객체, bit-field, 함수의 정체성을 결정하는 표현식이다. prvalueA prvalue is an expression whose evaluation initializes an object or bit-field, or computes the value of the operand of an operator, as s..
2025.04.27