Return the result of comparing to another string
Synopsis
constexpr
int
compare(
size_type pos1,
size_type n1,
core::string_view str,
size_type pos2,
size_type n2) const;
Description
See core::string_view::compare
Return Value
The result of the comparison
Parameters
Name |
Description |
pos1 |
The position to start comparing from |
n1 |
The number of characters to compare |
str |
The string to compare |
pos2 |
The position to start comparing from |
n2 |
The number of characters to compare |
Created with MrDocs