23#ifndef GUL17_TOKENIZE_H_
24#define GUL17_TOKENIZE_H_
114template <
typename StringContainer = std::vector<std::
string>,
115 typename ContainerInsertFct =
void (*)(StringContainer&, std::
string_view)>
123 std::string_view::size_type
token_end = 0;
168template <
typename StringContainer = std::vector<std::
string_view>,
169 typename ContainerInsertFct =
void (*)(StringContainer&, std::
string_view)>
auto constexpr bit_set(unsigned bit) noexcept -> ReturnT
Set a bit in an integral type.
Definition bit_manip.h:121
GUL_EXPORT const std::string_view default_whitespace_characters
The default characters that are treated as whitespace by GUL.
Definition string_util.cc:29
StringContainer tokenize_sv(std::string_view str, std::string_view delimiters=default_whitespace_characters, ContainerInsertFct insert_fct=detail::emplace_back< StringContainer >)
Split the given string into a vector of substrings (tokens) delimited by any of the characters in the...
Definition tokenize.h:171
StringContainer tokenize(std::string_view str, std::string_view delimiters=default_whitespace_characters, ContainerInsertFct insert_fct=detail::emplace_back< StringContainer >)
Split the given string into a vector of substrings (tokens) delimited by any of the characters in the...
Definition tokenize.h:117
Definition of macros used internally by GUL.
Namespace gul17 contains all functions and classes of the General Utility Library.
Definition doxygen.h:26
Declaration of string utility functions.