[Alephmodular-devel] Files and libs and stuff
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2003-01-27 00:41:39
|
I'm working on revising the file abstraction stuff. My ISP was acting fruity, making some research awkward. I'm finding myself looking at the situation of CFileRef. And sure, I could make it masquerade as a FILE*. However it seems the right thing to do would be to instead go with iostream. This is C++ after all. Ends up with the same basic effect, we're not writing wrappers to a bunch of other files. Probably works out better too, everything outside of CFileDesc just treats the corresponding IF/OF stream version of CFileRef as a private declaration, not even available externally. :) This does beg the question whether things like other related elements, ie sprintf, dprintf or such should be handled in any similar way. :) -Jeremy Parsons |