|
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, std::string_view 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 characters 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 1648 of file string_ops.h.
|
inline |
Definition at line 1650 of file string_ops.h.
|
inline |
Definition at line 1694 of file string_ops.h.
|
inline |
Definition at line 1700 of file string_ops.h.
|
inline |
Returns the source string we're splitting.
Definition at line 1706 of file string_ops.h.
|
inline |
Returns the characters we're splitting on.
Definition at line 1708 of file string_ops.h.