rapidyaml  0.7.0
parse and emit YAML, and do it fast
vector.hpp File Reference

provides conversion and comparison facilities from/between std::vector<char> to c4::substr and c4::csubstr. More...

#include "c4/substr.hpp"
#include <vector>

Go to the source code of this file.

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 writeable string view More...
 
template<class Alloc >
bool c4::from_chars (c4::csubstr buf, std::vector< char, Alloc > *s)
 copy a string view to an existing std::vector<char> More...
 

Detailed Description

provides conversion and comparison facilities from/between std::vector<char> to c4::substr and c4::csubstr.

Definition in file vector.hpp.