Newer
Older
ubixos / src / lib / libstdc++ / std / straights.h
@reddawg reddawg on 28 May 2004 771 bytes Getting Closer
typedef char charT;

extern "C++" {

template <class charT> struct string_char_traits {
  typedef charT char_type;
  static char_type eos () { return char_type(); } // the null character
  static void assign (char_type& c1, const char_type& c2) { c1 = c2; }
  };

class streambuf;class ios;class istream; class ostream;

typedef ios& (*__manip)(ios&);
typedef istream& (*__imanip)(istream&);
typedef ostream& (*__omanip)(ostream&);

extern ostream& flush(ostream& outs);

struct _ios_fields { // The data members of an ios.
  void *test;
  };


class ios : public _ios_fields {
  public:
    ios& test(void) { return *this; }
  };

class ostream : virtual public ios {
  public:
    ostream() { }
    ostream& put(char c) { return *this; } 
    ostream& flush();
  };

}