Modern C艹 In-Depth — Is string_view Worth It?

An introduction to std::string_view

Modern C艹 In-Depth — Is string_view Worth It?

by Michael Kristofik

From the article:

std::string_view makes it easier to write generic code that can accept read-only references to character sequences, regardless of the underlying container that holds that data. ... However, like normal references, there is potential for misuse.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.