0

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:
pkasting
2016-11-02 17:59:12 -07:00
committed by Commit bot
parent 9a4c395dd2
commit cb5ed947cc

@ -455,6 +455,14 @@ template &lt;typename T&gt;<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>&lt;random&gt;</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>&lt;random&gt;</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&lt;<i>numerator</i>, <i>denominator</i>&gt;</code></td>