1 #ifndef IPFS_SLASH_DELIMITED_H_
2 #define IPFS_SLASH_DELIMITED_H_
8 namespace google::protobuf::internal {
16 std::string_view remainder_;
23 explicit operator bool()
const;
24 std::string_view pop();
25 std::string_view pop_all();
26 std::string_view pop_n(std::size_t);
27 std::string_view peek_back()
const;
28 std::string pop_back();
29 std::string to_string()
const {
return std::string{remainder_}; }
30 std::string_view to_view()
const {
return remainder_; }
35 google::protobuf::internal::LogMessage& operator<<(
36 google::protobuf::internal::LogMessage&,
Definition: slash_delimited.h:15
SlashDelimited(std::string_view unowned)