Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #707

Re: The behavior of streambuf::seekoff

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.std.c++
Subject Re: The behavior of streambuf::seekoff
Date 2014-02-19 19:41 -0800
Organization Self
Message-ID <53040010.7090307@verizon.net> (permalink)
References <a35216ce-65bb-4cec-b4fd-06c955c2444a@x31g2000yqx.googlegroups.com> <A7GdnY58FYVxVGTPnZ2dnUVZ_uudnZ2d@giganews.com> <ldu2r3$rvv$1@dont-email.me>

Show all headers | View raw


On 02/18/2014 05:36 PM, Daniel Krügler wrote:
> Am 14.02.2014 19:41, schrieb Nach:
>>
>> According to the C++ 2011 standard (and possibly prior ones as well),
>
>
> Replying to you "possibly" form: The wording that you have quoted
> exists basically unmodified since the 1998 C++ Standard.
>
>> seekoff is supposed to fail when the parameters passed are "cur",
>> "in|out".
>>
>> In the case where the parameters passed are "beg" or "end" with
>> "in|out", the position of both of them are identical, in which case it
>> does not matter whether it is calculated from in or out.
>
>
>>From what you describe here I'm not sure whether you are just
> enumerating facts that you have deduced from the standard or whether
> you are pointing to a wording problem.
>
> Would you mind to elaborate a bit further on that, because I seem to
> have missed your point?

He's responding to a question that was posted by Sebastian Karlsson on
2009-11-17. I've no idea why he waited nearly four years to do so, but
on the other hand, according to Google groups, no one else answered the
question before him. Also according to Google Groups, that's the only
message that Sebastian ever posted to this newsgroup, so he's unlikely
to still be monitoring it.


--
[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Find similar


Thread

RE: The behavior of streambuf::seekoff Nach <nachman+compgroups@nissuin.org> - 2014-02-14 10:41 -0800
  Re: The behavior of streambuf::seekoff Daniel Krügler <daniel.kruegler@googlemail.com> - 2014-02-18 14:36 -0800
    Re: The behavior of streambuf::seekoff nachman@nissuin.org - 2014-02-19 19:41 -0800
    Re: The behavior of streambuf::seekoff James Kuyper <jameskuyper@verizon.net> - 2014-02-19 19:41 -0800

csiph-web