79 void resize( std::size_t );
91 char& operator [] (
int );
97 void operator += (
char );
98 void operator += (
const char* );
100 operator const char* ();
114 scfx_string::resize( std::size_t i )
118 }
while( i >= m_alloc );
120 char* temp =
new char[m_alloc];
122 for(
int j = 0; j < (int) m_len; ++ j ) {
123 temp[j] = m_buffer[j];
134 : m_len( 0 ), m_alloc( BUFSIZ ), m_buffer( new char[m_alloc] )
168 if( i >= (
int) m_alloc ) {
195 for(
int j = i + 1; j < (int) m_len; ++ j )
196 m_buffer[j - 1] = m_buffer[j];
221 scfx_string::operator
const char*()
Simple string class for internal use.