prvalue
nounUK /piːˈɑː.væl.juː/ · US /piˈɑɹ.væl.ju/
Etymology Short for pure rvalue. According to Bjarne Stroustrup, coined by ISO/IEC JTC 1/SC 22 in 2010.
1
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences An rvalue that is not an xvalue.
- Together, prvalues and xvalues are called “rvalues,” reflecting the use of that term in the library clauses and the intended uses in reference binding, overload resolution, and template argument deduction.2010 March 12, William M. Miller, “A Taxonomy of Expression Value Categories”, in C++ Standards Committee Papers, page 3:
- In Pittsburgh (and a few places later), I had the opportunity to explain this terminology to several people. It can be done in a few minutes. I think it has prvalue (Groan!).2010 April 23, Bjarne Stroustrup, “"New" Value Terminology”, in stroustrup.com, page 4:
1 more example
- If the expression is categorized as an rvalue, the next evaluation can categorize it as a prvalue or xvalue.2020, Roger Villela, “Working with Lvalue and Rvalue References”, in Introducing Mechanisms and APIs for Memory Management: Using Windows OS Native Runtime APIs, Apress, →DOI, →ISBN, page 158: