]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Improve doxygen docs for <random>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 28 Apr 2023 11:01:58 +0000 (12:01 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 28 Apr 2023 12:05:51 +0000 (13:05 +0100)
commitd711f8f81fc5f3a5a0420337f414bce93e1cad1e
tree958fe05bb9a941b48785ad6b5658d10de54e3cfa
parent30f6aace7fe5c535af41a1f08ab00dc14fedf02d
libstdc++: Improve doxygen docs for <random>

Add @headerfile and @since tags. Add gamma_distribution to the correct
group (poisson distributions). Add a group for the sampling
distributions and add the missing definitions of their probability
functions. Add uniform_int_distribution back to the uniform
distributions group.

libstdc++-v3/ChangeLog:

* include/bits/random.h (gamma_distribution): Add to the right
doxygen group.
(discrete_distribution, piecewise_constant_distribution)
(piecewise_linear_distribution): Create a new doxygen group and
fix the incomplete doxygen comments.
* include/bits/uniform_int_dist.h (uniform_int_distribution):
Add to doxygen group.
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/bits/uniform_int_dist.h