Namespaces
Variants
Views
Actions

Talk:cpp/string/basic string/starts with

From cppreference.com

Isn't (1) also affected by issue 2946, with the std::basic_string_view parameter requiring replacement with a constrained function template? The issue doesn't mention starts_with(), but that is purely because this function wasn't part of C++17, no? -- DevSolar (talk) 02:23, 3 May 2018 (PDT)

No. There's no basic_string overload for these functions, so no ambiguity. T. Canens (talk) 04:02, 3 May 2018 (PDT)