你能将常量 T*&& 绑定到 T* 类型的 xvalue 吗?
作者:Jan Schultke 提问时间:9/16/2023
请考虑以下代码:(https://godbolt.org/z/8W699x6q6) int* p; const int*&& r = static_cast<int*&&>(p); 注意:con...
引用绑定 问答列表
作者:Jan Schultke 提问时间:9/16/2023
请考虑以下代码:(https://godbolt.org/z/8W699x6q6) int* p; const int*&& r = static_cast<int*&&>(p); 注意:con...