16 #ifndef ABSL_FLAGS_INTERNAL_PATH_UTIL_H_ 17 #define ABSL_FLAGS_INTERNAL_PATH_UTIL_H_ 23 namespace flags_internal {
38 : filename.
substr(last_slash_pos + 1);
54 : filename.
substr(0, last_slash_pos + 1);
60 #endif // ABSL_FLAGS_INTERNAL_PATH_UTIL_H_ string_view substr(size_type pos, size_type n=npos) const
static constexpr size_type npos
absl::string_view Package(absl::string_view filename)
absl::string_view Basename(absl::string_view filename)
size_type find_last_of(string_view s, size_type pos=npos) const noexcept