标签: class-template-argument-deduction

我可以在`std`名称空间中添加一个推导指南吗?

假设我要制作一个新的演绎指南,以便进行以下操作?

std::string str;
std::basic_string_view sv = str;
Run Code Online (Sandbox Code Playgroud)

Would that be an Ok customization ?

c++ c++-faq language-lawyer deduction-guide class-template-argument-deduction

7
推荐指数
1
解决办法
121
查看次数