看下编译器用的是C++的哪个标准。
C++17开始,lvalue有进一步区别
The C++17 standard defines expression value categories as follows:
A glvalue is an expression whose evaluation determines the identity of an object, bit-field, or function.
A prvalue is an expression whose evaluation initializes an object or a bit-field, or computes the value of the operand of an operator, as specified by the context in which it appears.
An xvalue is a glvalue that denotes an object or bit-field whose resources can be reused (usually because it is near the end of its lifetime). Example: Certain kinds of expressions involving rvalue references (8.3.2) yield xvalues, such as a call to a function whose return type is an rvalue reference or a cast to an rvalue reference type.
An lvalue is a glvalue that is not an xvalue.
An rvalue is a prvalue or an xvalue.
https://docs.microsoft.com/en-us/cpp/cpp/lvalues-and-rvalues-visual-cpp?view=msvc-170
【 在 zhanghaoX 的大作中提到: 】
: 启动报tools.winide.debugger错误,不知道是不是装wdk引起的,
: 还有就是f12不能跳转到定义。
: 折腾了下,
: ...................
--
FROM 101.84.128.*