[ostream.rvalue] (original) (raw)

31 Input/output library [input.output]

31.7 Formatting and manipulators [iostream.format]

31.7.6 Output streams [output.streams]

31.7.6.6 Rvalue stream insertion [ostream.rvalue]

๐Ÿ”—

template<class Ostream, class T> Ostream&& operator<<(Ostream&& os, const T& x);

1

#

Constraints: The expression os << x is well-formed when treated as an unevaluated operand andOstream is publicly and unambiguously derived from ios_base.

2

#

Effects: As if by: os << x;

3

#

Returns: stdโ€‹::โ€‹move(os).