Namespaces
Variants
Views
Actions

Talk:cpp/string/basic string view

From cppreference.com

The term "definition" in the initial table seems misplaced.

it is trying to say the type A is defined as B. This appears in quite a few pages on the wiki. What would be a better heading, "Alias for"? "Defined as?" --Cubbi (talk) 08:41, 4 July 2017 (PDT)

[edit] What about the constructors?

There is no section describing the constructors for string_view. This is a major omission. --Phalpern (talk) 09:13, 26 January 2021 (PST)

Ah, never mind, I see it now. I've added a heading to make them easier to find. --Phalpern (talk) 09:18, 26 January 2021 (PST)

[edit] Better Description of Why ""s Causes Dangling

There is an example at the bottom of the page that talks about not using a string literal with a s suffix. It's good advice, but it took me significant googling to figure out why. Do you think that it makes sense to be more explicit here?

Hawkinsw (talk) 21:07, 19 August 2021 (PDT)