N1621=04-0061
Jens Maurer
24 Mar 2004
Replace in section 5.1.1 [tr.rand.req] before table 5.2:
In table 5.2, [...],byosis convertible to an lvalue of typestd::ostream, andisis convertible to an lvalue of typestd::istream.
In table 5.2, [...],Replace in section 5.1.1 [tr.rand.req] in table 5.2, in the row forosis an lvalue of the type of some class template specializationbasic_ostream<charT, traits>, andisis an lvalue of the type of some class template specializationbasic_istream<charT, traits>, wherecharTandtraitsare constrained according to [lib.strings] and [lib.input.output].
os << x, the return type
std::ostream&
by
reference to the type of os
Also, replace in the row for is >> v, the return type
std::istream&
by
reference to the type of is
and the pre/post-condition
sets the state v(i) ofbyvas determined by reading its textual representation fromis. post: Theis.fmtflags are unchanged.
sets the stateIn section 5.1.1 [tr.rand.req], add at the end of the paragraph preceding table 5.3v(i)ofvas determined by reading its textual representation fromis. pre: The textual representation was previously written using aoswhose imbued locale and whose type's template specialization argumentscharTandtraitswere the same than those ofis, respectively. post: Theis.fmtflags are unchanged.
Replace in section 5.1.1 [tr.rand.req] in table 5.3, in the row forosis convertible to an lvalue of the type of some class template specializationbasic_ostream<charT, traits>, andisis convertible to an lvalue of the type of some class template specializationbasic_istream<charT, traits>, wherecharTandtraitsare constrained according to [lib.strings] and [lib.input.output].
os << x, the return type
std::ostream&
by
reference to the type of os
Also, replace in the row for is >> v, the return type
std::istream&
by
reference to the type of is
and the pre/post-condition
restores the parameters and additional internal data of the distribution u. pre:byisprovides a textual representation that was previously written byoperator<<. post: Theis.fmtflags are unchanged.
restores the parameters and additional internal data of the distribution u. pre:isprovides a textual representation that was previously written using aoswhose imbued locale and whose type's template specialization argumentscharTandtraitswere the same than those ofis, respectively. post: Theis.fmtflags are unchanged.