A read string implementation with comparison functionality. More...
Public Types | |
using | iterator = const char * |
using | const_iterator = const char * |
Public Member Functions | |
r_string () | |
r_string (char *s, char *e) | |
~r_string () | |
r_string (const r_string &r) | |
r_string (r_string &&r) | |
r_string & | operator= (r_string &&r) |
r_string & | operator= (const r_string &r) |
operator std::string () const | |
const char * | begin () const |
const char * | end () const |
size_t | size () const |
Public Attributes | |
char * | s_ |
Start. More... | |
char * | e_ |
End. More... | |
uint8_t | owned_ {0} |
Private Member Functions | |
void | force (char *s, uint32_t length) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const r_string &s) |
rvalue | crow::json::load (const char *data, size_t size) |
A read string implementation with comparison functionality.
using crow::json::detail::r_string::iterator = const char* |
using crow::json::detail::r_string::const_iterator = const char* |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
friend |
|
friend |
char* crow::json::detail::r_string::s_ |
Start.
|
mutable |
End.
uint8_t crow::json::detail::r_string::owned_ {0} |