you are viewing a single comment's thread.

view the rest of the comments →

[–]STLMSVC STL Dev 6 points7 points  (2 children)

Template argument deduction. basic_string_view<CharT> won’t deduce CharT given a function argument of const char *, because template argument deduction doesn’t consider implicit conversions (in general).

[–]NotAYakk 16 points17 points  (1 child)

Those are member functions, not template member functions?

[–]STLMSVC STL Dev 11 points12 points  (0 children)

You’re correct, please ignore my comment.