rapidyaml  0.11.0
parse and emit YAML, and do it fast
string.hpp File Reference
#include "c4/substr.hpp"
#include <string>

Go to the source code of this file.

Classes

struct  c4::is_string< std::string >
 
struct  c4::is_writeable_string< std::string >
 

Namespaces

 c4
 (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message.
 

Functions

c4::substr c4::to_substr (std::string &s) noexcept
 get a writeable view to an existing std::string. More...
 
c4::csubstr c4::to_csubstr (std::string const &s) noexcept
 get a readonly view to an existing std::string. More...
 
bool c4::operator== (c4::csubstr ss, std::string const &s)
 
bool c4::operator!= (c4::csubstr ss, std::string const &s)
 
bool c4::operator>= (c4::csubstr ss, std::string const &s)
 
bool c4::operator> (c4::csubstr ss, std::string const &s)
 
bool c4::operator<= (c4::csubstr ss, std::string const &s)
 
bool c4::operator< (c4::csubstr ss, std::string const &s)
 
bool c4::operator== (std::string const &s, c4::csubstr ss)
 
bool c4::operator!= (std::string const &s, c4::csubstr ss)
 
bool c4::operator>= (std::string const &s, c4::csubstr ss)
 
bool c4::operator> (std::string const &s, c4::csubstr ss)
 
bool c4::operator<= (std::string const &s, c4::csubstr ss)
 
bool c4::operator< (std::string const &s, c4::csubstr ss)
 
size_t c4::to_chars (c4::substr buf, std::string const &s)
 copy a std::string to a writeable substr More...
 
bool c4::from_chars (c4::csubstr buf, std::string *s)
 copy a csubstr to an existing std::string More...