Re:Why Don't You Use String Views Instead of Passing Std:Wst...
by apparatur on Wednesday April 01, 2026 @02:22AM
(#47597504)
I think the article is trying to address the question from the title.
Definining your own string_view workalike is probably possible, but I'm not sure if it's OK to use it in a public API, for example. Choosing to use const string & may be more suitable.
[ Parent
| on HN ]
There are no comments on this comment yet.