Allow <random>. Add cautionary note about xxx_distribution.
BUG=none TEST=none Review-Url: https://codereview.chromium.org/2467633002 Cr-Commit-Position: refs/heads/master@{#429488}
This commit is contained in:
@ -455,6 +455,14 @@ template <typename T><br/>void Function(T&& t) { ... }</code></td>
|
||||
<td><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/UNaXc8R7eJ0">Discussion thread</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Random Number Generators</td>
|
||||
<td><code><random></code></td>
|
||||
<td>Random number generation algorithms and utilities</td>
|
||||
<td><a href="http://en.cppreference.com/w/cpp/numeric/random">Pseudo-random number generation</a></td>
|
||||
<td>Because the standard does not define precisely how the <code><i>xxx</i>_distribution</code> objects generate output, the same object may produce different output for the same seed across platforms, or even across different versions of the STL. Do not use these objects in any scenario where behavioral consistency is required. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/cxx/MLgK9vCE4BA">Discussion thread</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>String Direct Reference Functions</td>
|
||||
<td><code>std::string::front()</code>, <code>std::string::back()</code></td>
|
||||
@ -840,14 +848,6 @@ work in all our compilers yet.</p>
|
||||
<td>Useful for determining the element type pointed at by a (possibly smart) pointer.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Random Number Generators</td>
|
||||
<td>Functions within <code><random></code></td>
|
||||
<td>Random number generation algorithms and utilities</td>
|
||||
<td><a href="http://en.cppreference.com/w/cpp/numeric/random">Pseudo-random number generation</a></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Ratio Template Class</td>
|
||||
<td><code>std::ratio<<i>numerator</i>, <i>denominator</i>></code></td>
|
||||
|
Reference in New Issue
Block a user