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 anonymous, 11 years ago

Component: Documentationiostreams
Owner: changed from Matias Capeletto to Jonathan Turkanis

comment:2 by anonymous, 11 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5338.

Note: See TracTickets for help on using tickets.