repr 0.1
Reconstructable string representations and more
|
#include <buffer.h>
Public Member Functions | |
StringBuffer ()=default | |
StringBuffer (std::string_view in) | |
void | write (const char *beg, const char *end) |
LIBREPR_HINT_INLINE void | write (std::string_view sv) |
LIBREPR_HINT_INLINE void | write (char c) |
LIBREPR_HINT_INLINE std::string && | extract () |
LIBREPR_HINT_INLINE const std::string * | operator-> () const |
std::size_t | size () |
void | set_cursor (std::size_t index=std::string::npos) |
void | flush () |
Friends | |
StringBuffer & | operator<< (StringBuffer &buf, std::string_view sv) |
StringBuffer & | operator<< (StringBuffer &buf, char c) |
std::ostream & | operator<< (std::ostream &stream, StringBuffer &buf) |
|
default |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |