https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103917
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
cppcheck is wrong.
https://stackoverflow.com/questions/27256377/c-view-types-pass-by-const-or-by-value
https://quuxplusone.github.io/blog/2021/11/09/pass-string-view-by-value/
