C
Christopher Benson-Manica
Okay, having purchased the excellent Josuttis book last night, I've
almost got my little streambuf subclass bit worked out. Now, though,
I'm faced with some issues with the destructors...
public TRFileStream : public TLSFile, public std::streambuf
{
...
};
The problem, I think, is that ~TLSFile is *not* virtual, but
~std::streambuf is. How can I reconcile these two destructors?
almost got my little streambuf subclass bit worked out. Now, though,
I'm faced with some issues with the destructors...
public TRFileStream : public TLSFile, public std::streambuf
{
...
};
The problem, I think, is that ~TLSFile is *not* virtual, but
~std::streambuf is. How can I reconcile these two destructors?