]> git.tdb.fi Git - libs/core.git/commit
Rewrite BufferedFile as a standalone class
authorMikko Rasa <tdb@tdb.fi>
Mon, 7 Oct 2013 16:36:04 +0000 (19:36 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 7 Oct 2013 16:36:04 +0000 (19:36 +0300)
commit7b81490ae4ed6c7c8566f889d146677827f5d4a5
tree068f29721701c5341c1b0b02466bfffa8fcc6b8b
parent0f5501ad79950e9658fb672ac6b97a608e3a2dd9
Rewrite BufferedFile as a standalone class

The generic Filtered template is unable to account for the complexities of
buffering a seekable object.  In particular, relative seeks were broken.

I may revisit the template form at a later date if I come up with a
workable design.  For now its use is discouraged.
source/io/file.cpp
source/io/file.h
source/io/filtered.h