Closed mingjitianming closed 3 years ago
224行
std::optional o5{"hello"s}; // 推导出optional<string>
"hello"后边的s是string字面量后缀,不能删掉,删掉的话就会推导出optional<const char*>了
l
224行
std::optional o5{"hello"s}; // 推导出optional<string>
"hello"后边的s是string字面量后缀,不能删掉,删掉的话就会推导出optional<const char*>了
ok
删除多出的内容