diff options
author | 2023-10-20 09:21:26 -0700 | |
---|---|---|
committer | 2023-10-20 09:22:00 -0700 | |
commit | 0f110600fcd84bd99e559eaf88b8ab5b4c32cce0 (patch) | |
tree | efb2ce1cd33d152802dca75ad18dd4c617185d8a /absl/base/options.h | |
parent | 03786143361db9d8581cb02ed1c5027d732b62fc (diff) |
absl::string_view: Add support for starts_with() and ends_with()
when targeting at least C++20
These methods were added to C++20, so they are not available in
earlier language standards. Users requiring compatibility prior to C++20
should use absl::StartsWith() and absl::EndsWith() from
//absl/strings/match.h.
Most users are not affected by this change. By default when targeting at least
C++20 absl::string_view will be an alias for std::string_view. Only users
that have modified //absl/base/options.h will see this change.
PiperOrigin-RevId: 575238435
Change-Id: I7b03fde02c987b30b88c794640c2a616851997d1
Diffstat (limited to 'absl/base/options.h')
0 files changed, 0 insertions, 0 deletions