explicit istrstream(const char* s);
explicit istrstream(char* s);
Effects:
Constructs an object of class
istrstream,
initializing the base class with
istream(&sb)
and initializing
sb with
strstreambuf(s,0). s shall designate the first element of an
ntbs. istrstream(const char* s, streamsize n);
istrstream(char* s, streamsize n);
Effects:
Constructs an object of class
istrstream,
initializing the base class with
istream(&sb)
and initializing
sb with
strstreambuf(s,n). s shall designate the first element of an array whose length is
n elements, and
n shall be greater than zero
.