void Foo1(string_view view) {
...
}
string str = "one two three";
Foo1("one two three"); // Implicitly convert char* to string_view
Foo1(str);
I wonder which constructor converts char* to string_view implicitly and which one converts the string to string_view implicitly?
I know constructor (4) convert const char* to string_view but what I passed is char*.
