Edit and Continue cannot update a function on the call stack because code changes either removed a variable that requires construction or destruction or changed the variable's data type.
“编辑并继续”无法更新调用堆栈上的函数,因为代码更改或者移除了要求构造或析构的变量,或者更改了变量的数据类型。
What may be less obvisous is that we also cannot call such a function with an rvalue ( Section 2.3.1, p. 45) or with an object of a type that requires a conversion.
但比较容易忽略的是,调用这样的函数时,传递一个右值(第2.3.1 节)或具有需要转换的类型的对象同样是不允许的。
What may be less obvisous is that we also cannot call such a function with an rvalue ( Section 2.3.1, p. 45) or with an object of a type that requires a conversion.
但比较容易忽略的是,调用这样的函数时,传递一个右值(第2.3.1 节)或具有需要转换的类型的对象同样是不允许的。
应用推荐