59 friend inline int N (
string a);
69 string (
const char* s,
int n);
89string copy (
string a);
119bool is_id (
string s);
151 inline operator char* ()
const {
return rep->value; }
c_string_rep(char *v=NULL)
c_string_rep & operator=(c_string_rep &)
c_string_rep(c_string_rep &)
#define CONCRETE_CODE(PTR)
Macro used to define the implementation of a concrete smart pointer.
The list class represents a linked list.
void reserve(int n)
reserve memory space to contain at least n word in the whole string. Do not affect length of string,...
int expand_or_shrink_by(int delta)
expand (or shrink) string by delta, but do not release memory when string is shrinked.
void resize(int n)
expand (or shrink) string to given length n, and try to release memory when string is shrinked.
bool operator!=(const char *s)
bool operator==(const char *s)
string operator()(int start, int end)
void tm_delete_array(C *Ptr)
bool operator<(string a, string b)
string as_string_bool(bool f)
char * as_charp(string s)
string as_string(int16_t i)
string operator*(const char *a, string b)
long int as_long_int(string s)
double as_double(string s)
string & operator<<(string &a, char)
bool operator<=(string a, string b)
Structure representing a concrete object with a reference count.
url delta(url base, url u)