使用字符串视图而不是通过 const& 传递 std:wstring

使用字符串视图而不是通过 const& 传递 std:wstring

文章网址:https://giodicanio。

com/2024/05/14/why-dont-you-use-string-views-like-std-wstring_view-instead-of-passing-std-wstring-by-const-reference/。

评论网址:https://news。

来源:HackerNews