sprint 1-alpha
|
#include <static_buffer.h>
Public Member Functions | |
static_buffer (const T *a) | |
static_buffer (const T *a, const T *b) | |
static_buffer (const T *a, const T *b, const T *c) | |
static_buffer (const T *a, const T *b, const T *c, const T *d) | |
static_buffer (const T *a, const T *b, const T *c, const T *d, const T *e) | |
void | insert_ (const T *a) |
insert a string (avoiding \0) | |
void | insert (const T *a) |
insert a string | |
static_buffer< t_capacity > & | operator<< (const T *str) |
insert a string | |
const char * | c_str () const |
return the const char * | |
char * | str () |
return the char * | |
const char * | data () const |
return the inner buffer | |
int | lenght () const |
lenght of buffer | |
unsigned int | size () const |
size of string | |
unsigned int | capacity () const |
max capacity |
A fixed size char buffer for rapidly cat string without fragment memory
static_buffer<256> ("This"," is ","a", " test");