Opened 11 years ago
Closed 11 years ago
#5528 closed Bugs (duplicate)
Error in documentation of boost iostreams
Reported by: | anonymous | Owned by: | Jonathan Turkanis |
---|---|---|---|
Milestone: | To Be Determined | Component: | iostreams |
Version: | Boost 1.46.1 | Severity: | Problem |
Keywords: | typo, doc, iostreams, seek | Cc: |
Description
There's an error in boost iostreams documentation when it comes to describe the constant which the seek function has to be called with to position one of its heads to the end of the file.
It says
if way is std::ios_base::beg, the initial position is the end of the stream
it oughta be
if way is std::ios_base::end, the initial position is the end of the stream
It's always been the same, since its first release, 1.33.0.
Change History (2)
comment:1 by , 11 years ago
Component: | Documentation → iostreams |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
URL for error:
http://www.boost.org/doc/libs/1_46_1/libs/iostreams/doc/functions/seek.html