26#ifndef GUL17_TOKENIZE_H_
27#define GUL17_TOKENIZE_H_
117template <
typename StringContainer = std::vector<std::
string>,
118 typename ContainerInsertFct =
void (*)(StringContainer&, std::
string_view)>
126 std::string_view::size_type
token_end = 0;
171template <
typename StringContainer = std::vector<std::
string_view>,
172 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:124
GUL_EXPORT const std::string_view default_whitespace_characters
The default characters that are treated as whitespace by GUL.
Definition string_util.cc:32
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:174
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:120
Definition of macros used internally by GUL.
Namespace gul17 contains all functions and classes of the General Utility Library.
Definition doxygen.h:29
Declaration of string utility functions.