2 // GROUPS passed virtual-functions
4 // From: allan@ramjet.multinet.DE (Allan Brighton)
5 // Subject: pos. bug in gcc-2.5.2 on hp
6 // Date: 4 Nov 1993 22:57:36 -0500
7 // Message-ID: <9311041820.AA05942@ramjet.multinet.DE>
14 class BugStream : public ostringstream {
21 static struct Eval_ { } eval;
22 BugStream& operator<<(ostream& os, Eval_);
24 BugStream& BugStream::eval()
26 // make sure str is null terminated
29 // eval the command and set the status
30 const char* s = str().data();
33 // reset the stream for the next command
35 // rdbuf()->freeze(0);
41 BugStream& operator<<(ostream& os, Eval_)
43 return ((BugStream&)os).eval();