Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!poly-vlsi!siegfried!dagenais From: dagenais@siegfried.vlsi.polymtl.ca (Michel Dagenais) Newsgroups: comp.lang.c++ Subject: Re: String as input stream Message-ID: Date: 11 Apr 91 13:26:31 GMT References: <2072@ac5.cs.nps.navy.mil> Sender: news@vlsi.polymtl.ca (USENET News System) Organization: Ecole Polytechnique de Montreal, Canada Lines: 12 In-Reply-To: wilson@ac5.cs.nps.navy.mil's message of 10 Apr 91 20:34:24 GMT In libg++ there is an istream constructor which accepts a buffer as argument instead of a file name. Sounds like the solution to your problem. You can probably even redefine the internal underflow member function to handle data buffered by chunks... like a long object spread several pages in a disk BTREE implementation :-). -- --------------------------------------------------------------------------- Michel Dagenais dagenais@vlsi.polymtl.ca Ecole Polytechnique de Montreal tel: (514) 340-4029 ---------------------------------------------------------------------------