Opened 10 years ago
#6929 new Bugs
stream and stream_buffer need const versions of operator-> and operator *
Reported by: | Owned by: | Jonathan Turkanis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | iostreams |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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) .
Note:
See TracTickets
for help on using tickets.