23 using namespace basis;
40 if (
this == &to_copy)
return *
this;
41 astring t((
char *)to_copy.my_held);
42 if (my_held)
delete [] my_held;
52 int bogon::size()
const {
return my_held? int(strlen((
char *)my_held) + 1) : 0; }
Provides a dynamically resizable ASCII character string.
void stuff(char *to_stuff, int count) const
a synonym for copy().
int length() const
Returns the current length of the string.
bogon & operator=(const bogon &to_copy)
bogon(basis::abyte *to_copy)
basis::abyte * held() const
#define NULL_POINTER
The value representing a pointer to nothing.
The guards collection helps in testing preconditions and reporting errors.
unsigned char abyte
A fairly important unit which is seldom defined...
A dynamic container class that holds any kind of object via pointers.