Reputation: 14815
Is there any equivalent to following functions if using std::filebuf
? :
std::ifstream::eof
std::ifstream::fail
std::ifstream::tellg
If yes, which?
Upvotes: 2
Views: 146
Reputation: 385088
There aren't any. Those things relate to streams, not the data buffer used by those streams.
The entire purpose of std::ifstream
is to add features like that on top of the std::filebuf
.
Upvotes: 4