[comp.lang.c++] iostream char* constructors

sdm@cs.brown.edu (Scott Meyers) (07/12/90)

The public constructors for istrstream (AT&T release 2.0) take char*
arguments, not const char* const, as I expected.  Is this an oversight, or
is it really the case that if I initialize an istrstream with a string, the
string may be modified as I read from the istrstream?  

This seeming discrepancy between char* and const char* const isn't limited
to istrstreams -- it occurs elsewhere in the iostream library as well.

Scott