15 s =
new unsigned char[sz+1];
17 cerr <<
"Error allocating memory for adstring" <<
endl;
38 adstring::operator
unsigned char*()
40 return (
unsigned char*)s + 1;
43 adstring::operator
char*()
45 return (
char*)(s + 1);
48 adstring::operator
const unsigned char*()
const
50 return (
const unsigned char*)s + 1;
53 adstring::operator
const char*()
const
55 return (
const char*)(s + 1);
60 return s ? strlen((
char*)(
s+1)) : 0;
70 for (
unsigned int i = 1; i <= t.
size(); i++)
72 #if (defined __ZTC__) || (defined __NDPX__)
void allocate(const size_t sz)
prnstream & endl(prnstream &)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
adstring()
Default constructor.
ostream & operator<<(const ostream &_s, preshowpoint p)
Description not yet available.
adstring & operator=(const adstring &t)