sprint 1-alpha
|
similar to STL string (used in no STL projects), but use a sprint::shared_vector object More...
#include <shared_string.h>
Inherits sprint::shared_vector< char >.
Public Member Functions | |
shared_string (unsigned int capacity) | |
shared_string (const char *str) | |
shared_string (const shared_string &src) | |
void | insert (const char *str) |
void | insert (const shared_string &src) |
shared_string & | operator= (const char *str) |
shared_string & | operator= (const shared_string &src) |
shared_string & | operator+= (const char *str) |
shared_string & | operator+= (const shared_string &src) |
const char * | c_str () const |
STL compatible: return the inner block. | |
unsigned int | lenght () const |
string lenght | |
unsigned int | capacity () const |
the internal buffer capacity |
similar to STL string (used in no STL projects), but use a sprint::shared_vector object
a string with relocation capacity, storage, lenght with reduced memory fragmentation. Reference Counter will used to reduce memory occupation