From f68991347f455c5eb8e5fb675c07b235c4461fcb Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 12 Jan 2026 10:04:36 -0600 Subject: [PATCH] str.cpp --- src/str.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/str.cpp b/src/str.cpp index 5ce25d90..85c9b0cf 100644 --- a/src/str.cpp +++ b/src/str.cpp @@ -32,7 +32,7 @@ using std::set; using std::string; using std::string_view; using std::vector; - +using nonstd::span; void str::split(const string_view str_, @@ -299,6 +299,10 @@ str::startswith(const string &str_, std::string_view{prefix_}); } +bool +str::startswith(const char *str_, + nonstd::span + bool str::endswith(const string &str_, const string &suffix_)