cppx-core
Namespaces | Functions
string-util.hpp File Reference
#include <cppx-core/collections/Span_.hpp>
#include <cppx-core/collections/is_empty.hpp>
#include <cppx-core/language/syntax/type-assemblers.hpp>
#include <cppx-core/text/ascii/ascii-util.hpp>
#include <cppx-core/text/data/Symbol_strings.hpp>
#include <cppx-core/text/pointers-from-string_view.hpp>
#include <cppx-core/text/unicode/utf8-iteration.hpp>
#include <iterator>
#include <utility>
Include dependency graph for string-util.hpp:

Go to the source code of this file.

Namespaces

 cppx
 
 cppx::string_repeat
 

Functions

 cppx::CPPX_USE_STD (basic_string_view, move, next, string, string_view)
 
auto cppx::spaces (const int n) -> string
 
auto cppx::string_repeat::repeated (const int n, const string_view &s) -> string
 
auto cppx::string_repeat::operator * (const int n, const string_view &s) -> string
 
auto cppx::left (const string_view &s, const int width) -> string
 
auto cppx::right (const string_view &s, const int width) -> string
 
auto cppx::quoted (const string_view &sv) -> string
 
auto cppx::quoted (const char ch) -> string
 
auto cppx::trimmed (const string_view &sv) -> string_view
 
auto cppx::trimmed (const string &s) -> string
 
auto cppx::trimmed (string &&s) -> string
 
auto cppx::split () -> void
 
template<class Iterator >
auto cppx::joined (const Span_< Iterator > range, const string &separator=" ") -> string