Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2001-05-28 12:41:34


on 5/27/01 7:07 PM, Gregory Seidman at gseidman_at_[hidden] wrote:

[SNIP]
> Now, what isn't platform-dependent is the C stdio FILE*. Why isn't there a
> constructor for {i/o}fstream which takes a FILE*? Shouldn't there be? That
> would be platform-independent and decidedly useful. It would also reduce
> wrapping a file descriptor to call fdopen() on it first.
>
> Is there interest in this? Has someone else done it and I just don't know
> about it? Does anyone want to do it? I probably will get around to it
> sometime for my own purposes, but that may not be for quite a while. I'd be
> inclined to do it for both FILE* and file descriptors.

Someone has already done it. There are two implementations in the vault, in
the IOGlue package and in my more_io package.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk