boost::urls::grammar::string_view_base::compare
Return the result of comparing to another string
Synopses
Return the result of comparing to another string
constexpr
int
compare(core::string_view str) const noexcept;
Return the result of comparing to another string
constexpr
int
compare(char const* s) const noexcept;
Return the result of comparing to another string
constexpr
int
compare(
size_type pos1,
size_type n1,
core::string_view str) const;
Return the result of comparing to another string
constexpr
int
compare(
size_type pos1,
size_type n1,
char const* s) const;
Return the result of comparing to another string
constexpr
int
compare(
size_type pos1,
size_type n1,
char const* s,
size_type n2) const;
Return the result of comparing to another string
constexpr
int
compare(
size_type pos1,
size_type n1,
core::string_view str,
size_type pos2,
size_type n2) const;
Parameters
Name |
Description |
str |
The string to compare |
s |
The string to compare |
pos1 |
The position to start comparing from |
n1 |
The number of characters to compare |
n2 |
The number of characters to compare |
pos2 |
The position to start comparing from |
Created with MrDocs