Opened 7 years ago

#6929 new Bugs

stream and stream_buffer need const versions of operator-> and operator *

Reported by: Igor Lubashev <igorlord@…> Owned by: Jonathan Turkanis
Milestone: To Be Determined Component: iostreams
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:


stream and stream_buffer need their operator-> and operator * to be either made const or the const versions need to be added.

These operators do not modify the state of the stream and can be used to execute const functions of the device (like st->handle() for a file_descriptor device) .

Change History (0)

Note: See TracTickets for help on using tickets.