49 virtual void put( t ) = 0;
79 template<
class t,
int buffer_size>
83 t buffer[ buffer_size ];
103 if( n_buffered < buffer_size ){
104 buffer[ write_index ] = c;
105 if( ++write_index == buffer_size ){
124 if( ( n_buffered > 0 ) && output.put_will_not_block() ){
125 output.put( buffer[ read_index ] );
126 if( ++read_index == buffer_size ){