1
//===----------------------------------------------------------------------===//
3
// The LLVM Compiler Infrastructure
5
// This file is dual licensed under the MIT and the University of Illinois Open
6
// Source Licenses. See LICENSE.TXT for details.
8
//===----------------------------------------------------------------------===//
14
// explicit istrstream(char* s, streamsize n);
22
char buf[] = "123 4.5 dog";
23
std::istrstream in(buf, 7);
40
assert(buf[5] == '5');
41
assert(buf[6] == '5');