add implicit conversion from Range to std::string_view
Summary: Make StringPiece and MutableStringPiece implicitly convertible to std::string_view. This diff also adds FOLLY_HAS_STRING_VIEW to Portability.h, which will be defined to be 0 or 1. Reviewed By: vitaut Differential Revision: D10187660 fbshipit-source-id: 90e6f3ac82e47eae423dab8f1de1d39e5ac997c4
Showing
Please register or sign in to comment