string_util

The contents of this module can be included with the header hpx/modules/string_util.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/string_util.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

namespace hpx
namespace string_util

Functions

template<typename CharT, class Traits, class Alloc>
void to_lower(std::basic_string<CharT, Traits, Alloc> &s)
namespace hpx
namespace string_util

Functions

template<typename CharT, typename Traits, typename Allocator>
detail::is_any_of_pred<CharT, Traits, Allocator> is_any_of(std::basic_string<CharT, Traits, Allocator> const &chars)
auto is_any_of(char const *chars)
struct is_space

Public Functions

bool operator()(int c) const
namespace hpx
namespace string_util

Enums

enum token_compress_mode

Values:

off
on

Functions

template<typename Container, typename Predicate, typename CharT, typename Traits, typename Allocator>
void split(Container &container, std::basic_string<CharT, Traits, Allocator> const &str, Predicate &&pred, token_compress_mode compress_mode = token_compress_mode::off)
template<typename Container, typename Predicate>
void split(Container &container, char const *str, Predicate &&pred, token_compress_mode compress_mode = token_compress_mode::off)
namespace hpx
namespace string_util

Functions

template<typename CharT, class Traits, class Alloc>
void trim(std::basic_string<CharT, Traits, Alloc> &s)
template<typename CharT, class Traits, class Alloc>
std::basic_string<CharT, Traits, Alloc> trim_copy(std::basic_string<CharT, Traits, Alloc> const &s)