Open chriskohlhoff opened 9 years ago
However add note that these classes are intended for trafficking in bytes and not characters, and that the conversion from characters to bytes occur elsewhere.
Applied in 597c18b613cae2b339b34e9860c85af2402fda95.
[socket.streambuf], [socket.iostream]
The suggestion is that the these iostream-related classes should have template parameters for customising the char traits. As noted above, Dietmar said at the time that he would rather we didn't go down this route.
A change was included in revision 5 to add notes that these classes are intended for byte-oriented uses only.
w.r.t the naming discussion in LEWG in Lenexa, it occurs to me that this is not a std::basic_iostream, it is a basic_socket that reads/writes via a std::iostream i.e. via std::basic_iostream<char, std:char_traits
DK thinks it would be wrong and would rather we don't go down this rabbit hole.