My question is regarding C++17: http://en.cppreference.com/w/cpp/string/basic_string_view/basic_string_view
What's the caveat of implicit conversion from std::basic_string to std::basic_string_view that it wasn't included in the interface of the latter?
I believe it would greatly improve this class. Especially the family of comparison operators that, also do not accept std::string as neither lhs nor rhs.
There is such conversion in library fundamentals TS specification: http://en.cppreference.com/w/cpp/experimental/basic_string_view/basic_string_view
This question is about why it was removed. Or rather not adopted.
std::stringwould be a rather expensive way to comparestd::string_viewtostd::string.basic_string's responsibility. en.cppreference.com/w/cpp/string/basic_string/…