Opened 9 years ago

Last modified 5 years ago

#8680 new Bugs

seekable_device missing in boost/iostreams/concepts.hpp

Reported by: Eric Molitor <eric@…> Owned by: Jonathan Turkanis
Milestone: To Be Determined Component: iostreams
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

The documentation for Boost.iosteams:Tutorial:Container_Device refers to seekable_device as existing in boost/iostreams/concepts.hpp. However it does not exist. Either the documentation should be update or something along the lines of the following should be added to concepts.hpp.

typedef device<seekable> seekable_device;
typedef wdevice<seekable> wseekable_device;

Not sure if that should be wseekable_device or seekable_wdevice. The latter seems to better match the filter typedef's.

Alternatively the documentation could be updated to refer to device[seekable].

Change History (1)

comment:1 by stefan.cloudt@…, 5 years ago

Adding these two lines seems to solve the problem for me.

Note: See TracTickets for help on using tickets.