rapidyaml  0.16.0
parseandemitYAML,anddoitfast
vector.hpp File Reference
#include "c4/substr.hpp"
#include <vector>

Go to the source code of this file.

Classes

struct  c4::is_string< T >
 a traits class to mark a type as a string type, meaning c4::to_csubstr() can be used directly instead of c4::to_chars() when formatting the string. More...
 
struct  c4::is_string< std::vector< char, Alloc > >
 
struct  c4::is_string< const std::vector< char, Alloc > >
 
struct  c4::is_writeable_string< T >
 a traits class to mark a type as a writeable string type, meaning c4::to_substr() can be used directly instead of c4::from_chars() when reading the string. More...
 
struct  c4::is_writeable_string< std::vector< char, Alloc > >
 

Namespaces

 c4
 

Functions

template<class Alloc >
c4::substr c4::to_substr (std::vector< char, Alloc > &vec)
 get a substr (writeable string view) of an existing std::vector<char> More...
 
template<class Alloc >
c4::csubstr c4::to_csubstr (std::vector< char, Alloc > const &vec)
 get a csubstr (read-only string) view of an existing std::vector<char> More...
 
template<class Alloc >
bool c4::operator!= (c4::csubstr ss, std::vector< char, Alloc > const &s)
 
template<class Alloc >
bool c4::operator== (c4::csubstr ss, std::vector< char, Alloc > const &s)
 
template<class Alloc >
bool c4::operator>= (c4::csubstr ss, std::vector< char, Alloc > const &s)
 
template<class Alloc >
bool c4::operator> (c4::csubstr ss, std::vector< char, Alloc > const &s)
 
template<class Alloc >
bool c4::operator<= (c4::csubstr ss, std::vector< char, Alloc > const &s)
 
template<class Alloc >
bool c4::operator< (c4::csubstr ss, std::vector< char, Alloc > const &s)
 
template<class Alloc >
bool c4::operator!= (std::vector< char, Alloc > const &s, c4::csubstr ss)
 
template<class Alloc >
bool c4::operator== (std::vector< char, Alloc > const &s, c4::csubstr ss)
 
template<class Alloc >
bool c4::operator>= (std::vector< char, Alloc > const &s, c4::csubstr ss)
 
template<class Alloc >
bool c4::operator> (std::vector< char, Alloc > const &s, c4::csubstr ss)
 
template<class Alloc >
bool c4::operator<= (std::vector< char, Alloc > const &s, c4::csubstr ss)
 
template<class Alloc >
bool c4::operator< (std::vector< char, Alloc > const &s, c4::csubstr ss)
 
template<class Alloc >
size_t c4::to_chars (c4::substr buf, std::vector< char, Alloc > const &s)
 copy a std::vector<char> to a substr More...
 
template<class Alloc >
bool c4::from_chars (c4::csubstr buf, std::vector< char, Alloc > *s)
 copy a csubstr to an existing std::vector<char> More...