15#ifndef DEMANGLE_STRINGVIEW_H
16#define DEMANGLE_STRINGVIEW_H
25 return !self.empty() && *self.begin() ==
C;
29 std::string_view needle)
noexcept {
30 if (needle.size() > haystack.size())
32 haystack.remove_suffix(haystack.size() - needle.size());
33 return haystack == needle;
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
#define DEMANGLE_NAMESPACE_END
#define DEMANGLE_NAMESPACE_BEGIN