|
LibSWOC++ 1.5.14
Solid Wall of C++
|
#include "swoc/string_view_util.h"
Go to the source code of this file.
Functions | |
| int | memcmp (std::string_view const &lhs, std::string_view const &rhs) |
| int | strcasecmp (const std::string_view &lhs, const std::string_view &rhs) |
Additional handy utilities for string_view and hence also TextView.
Definition in file string_view_util.cc.
| int memcmp | ( | const std::string_view & | lhs, |
| const std::string_view & | rhs ) |
Compare views with ordering.
| lhs | input view |
| rhs | input view |
If one view is the prefix of the other, the shorter view is less (first in the ordering).
strcmp and memcmp. Definition at line 11 of file string_view_util.cc.
| int strcasecmp | ( | const std::string_view & | lhs, |
| const std::string_view & | rhs ) |
Compare views with ordering, ignoring case.
| lhs | input view |
| rhs | input view |
If one view is the prefix of the other, the shorter view is less (first in the ordering).
Definition at line 30 of file string_view_util.cc.