allow explicit construction of ByteRange from std::string_view
Summary: This enables explicit construction of ByteRange from both `std::string_view` and `std::string`. We have allowed implicit construction of `ByteRange` from `StringPiece` ever since D518666. `std::string_piece` is pretty equivalent to `StringPiece`, so this helps bring the behavior for the two closer to parity. Reviewed By: voznesenskym Differential Revision: D32633008 fbshipit-source-id: fabba94b62bf471f1f8de5c35f844820993f0b0b
Showing
Please register or sign in to comment