Home | History | Annotate | Download | only in depr.strstream.cons

Lines Matching refs:inout

23         std::strstream inout(buf, 0);
24 assert(inout.str() == std::string("123 4.5 dog"));
28 inout >> i;
29 assert(inout.fail());
30 inout.clear();
31 inout << i << ' ' << d << ' ' << s;
32 assert(inout.str() == std::string("321 5.5 cat"));
36 inout >> i >> d >> s;
43 std::strstream inout(buf, 11, std::ios::app);
44 assert(inout.str() == std::string("123 4.5 dog"));
48 inout >> i >> d >> s;
55 inout.clear();
56 inout << i << ' ' << d << ' ' << s;
57 assert(inout.str() == std::string("123 4.5 dog321 5.5 cat"));