mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Minor typo
I think a minor typo got itself in ... the second 'string_span' should be string_view.
This commit is contained in:
committed by
Robert Andrzejuk
parent
a8377b9302
commit
d5667c5f8a
@@ -18604,7 +18604,7 @@ In C++17, we might use `string_view` as the argument, rather than `const string*
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
The `gsl::string_span` is a current alternative offering most of the benefits of `string_span` for simple examples:
|
The `gsl::string_span` is a current alternative offering most of the benefits of `std::string_view` for simple examples:
|
||||||
|
|
||||||
vector<string> read_until(string_span terminator)
|
vector<string> read_until(string_span terminator)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user