tmp/tmpx4lhcgi7/{from.md → to.md}
RENAMED
|
@@ -39,21 +39,22 @@ namespace std {
|
|
| 39 |
void discard(unsigned long long z);
|
| 40 |
|
| 41 |
// inserters and extractors
|
| 42 |
template<class charT, class traits>
|
| 43 |
friend basic_ostream<charT, traits>&
|
| 44 |
-
operator<<(basic_ostream<charT, traits>& os,
|
|
|
|
| 45 |
template<class charT, class traits>
|
| 46 |
friend basic_istream<charT, traits>&
|
| 47 |
-
operator>>(basic_istream<charT, traits>& is,
|
|
|
|
| 48 |
};
|
| 49 |
}
|
| 50 |
```
|
| 51 |
|
| 52 |
-
If the template parameter `m` is 0, the modulus m used throughout
|
| 53 |
-
|
| 54 |
-
plus 1.
|
| 55 |
|
| 56 |
[*Note 1*: m need not be representable as a value of type
|
| 57 |
`result_type`. — *end note*]
|
| 58 |
|
| 59 |
If the template parameter `m` is not 0, the following relations shall
|
|
|
|
| 39 |
void discard(unsigned long long z);
|
| 40 |
|
| 41 |
// inserters and extractors
|
| 42 |
template<class charT, class traits>
|
| 43 |
friend basic_ostream<charT, traits>&
|
| 44 |
+
operator<<(basic_ostream<charT, traits>& os, // hosted
|
| 45 |
+
const linear_congruential_engine& x);
|
| 46 |
template<class charT, class traits>
|
| 47 |
friend basic_istream<charT, traits>&
|
| 48 |
+
operator>>(basic_istream<charT, traits>& is, // hosted
|
| 49 |
+
linear_congruential_engine& x);
|
| 50 |
};
|
| 51 |
}
|
| 52 |
```
|
| 53 |
|
| 54 |
+
If the template parameter `m` is 0, the modulus m used throughout
|
| 55 |
+
[[rand.eng.lcong]] is `numeric_limits<result_type>::max()` plus 1.
|
|
|
|
| 56 |
|
| 57 |
[*Note 1*: m need not be representable as a value of type
|
| 58 |
`result_type`. — *end note*]
|
| 59 |
|
| 60 |
If the template parameter `m` is not 0, the following relations shall
|