header_utils
|
A very basic "range" (not really a C++ range yet) that can be iterated over as if its a range of elements in source
split by split_on
.
More...
#include <string_ops.h>
Public Member Functions | |
split_range (std::string_view source, char split_on) | |
split_range_iterator | begin () |
split_range_iterator | end () |
auto | source () const |
Returns the source string we're splitting. | |
auto | split_on () const |
Returns the character we're splitting on. | |
A very basic "range" (not really a C++ range yet) that can be iterated over as if its a range of elements in source
split by split_on
.
SINGLE | if false, we ignore consecutive delimiters |
Definition at line 1552 of file string_ops.h.
|
inline |
Definition at line 1554 of file string_ops.h.
|
inline |
Definition at line 1598 of file string_ops.h.
|
inline |
Definition at line 1604 of file string_ops.h.
|
inline |
Returns the source string we're splitting.
Definition at line 1610 of file string_ops.h.
|
inline |
Returns the character we're splitting on.
Definition at line 1612 of file string_ops.h.