From Jason Turner

[ostream.rvalue]

Diff to HTML by rtfpessoa

tmp/tmptbqueo02/{from.md → to.md} RENAMED
@@ -1,14 +1,15 @@
1
  #### Rvalue stream insertion <a id="ostream.rvalue">[[ostream.rvalue]]</a>
2
 
3
  ``` cpp
4
- template <class charT, class traits, class T>
5
- basic_ostream<charT, traits>& operator<<(basic_ostream<charT, traits>&& os, const T& x);
6
  ```
7
 
 
 
 
 
8
  *Effects:* As if by: `os << x;`
9
 
10
- *Returns:* `os`.
11
-
12
- *Remarks:* This function shall not participate in overload resolution
13
- unless the expression `os << x` is well-formed.
14
 
 
1
  #### Rvalue stream insertion <a id="ostream.rvalue">[[ostream.rvalue]]</a>
2
 
3
  ``` cpp
4
+ template<class Ostream, class T>
5
+ Ostream&& operator<<(Ostream&& os, const T& x);
6
  ```
7
 
8
+ *Constraints:* The expression `os << x` is well-formed when treated as
9
+ an unevaluated operand and `Ostream` is publicly and unambiguously
10
+ derived from `ios_base`.
11
+
12
  *Effects:* As if by: `os << x;`
13
 
14
+ *Returns:* `std::move(os)`.
 
 
 
15