28 return where.size() >= what.size() &&
29 0 == where.compare(0u, what.size(), what);
37 return where.size() >= what.size() && 0 == where.compare(
38 where.size() - what.size(), what.size(), what);
Detection of compiler version and absence of various features.
#define RESTINIO_NODISCARD
RESTINIO_NODISCARD bool ends_with(const string_view_t &where, const string_view_t &what) noexcept
RESTINIO_NODISCARD bool starts_with(const string_view_t &where, const string_view_t &what) noexcept
nonstd::string_view string_view_t