Topic: The behavior of streambuf::seekoff


Author: Sebastian Karlsson <sairony@gmail.com>
Date: Tue, 17 Nov 2009 18:31:35 CST
Raw View
It seems like return type of this function is a tad cloudy in the case
where the last parameter is both std::ios_base::out and
std::ios_base::in . To put it simply, is the returned offset the
calculated offset of the in marker or out marker?

--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]