Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我想制作一个新的扣除指南,使以下成为可能?
std::string str; std::basic_string_view sv = str;
那会是一个好的定制吗?
[命名空间.std]/2.4:
如果 C++ 程序声明 [...] 任何标准库类模板的推导指南,则它的行为是未定义的。