|
LibSWOC++ 1.5.14
Solid Wall of C++
|
#include <bitset>#include <iosfwd>#include <memory.h>#include <string>#include <string_view>#include <memory>#include <limits>

Go to the source code of this file.
Functions | |
| int | strcasecmp (const std::string_view &lhs, const std::string_view &rhs) |
| int | memcmp (const std::string_view &lhs, const std::string_view &rhs) |
| int | strcmp (const std::string_view &lhs, const std::string_view &rhs) |
| void * | memcpy (void *dst, const std::string_view &src) |
Additional handy utilities for string_view and hence also TextView.
Definition in file string_view_util.h.
| 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.
|
inline |
Copy bytes.
| dst | Destination buffer. |
| src | Original string. |
This is a convenience for
Therefore dst must point at a buffer large enough to hold src. If this is not already determined, then presuming DST_SIZE is the size of the buffer at dst
Definition at line 86 of file string_view_util.h.
| 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.
|
inline |
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 64 of file string_view_util.h.