@@ -424,32 +424,30 @@ which no dialect declares as such (See the second form described above).
424
424
* ``to_integer ``
425
425
* ``to_underlying ``
426
426
427
- Additional types supported in random distributions
428
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
429
-
430
- The `C++ Standard <http://eel.is/c++draft/rand#req.genl-1.5 >`_ mentions that instantiating several random number
431
- distributions with types other than ``short ``, ``int ``, ``long ``, ``long long ``, and their unsigned versions is
432
- undefined. As an extension, libc++ supports instantiating ``binomial_distribution ``, ``discrete_distribution ``,
433
- ``geometric_distribution ``, ``negative_binomial_distribution ``, ``poisson_distribution ``, and ``uniform_int_distribution ``
434
- with ``int8_t ``, ``__int128_t `` and their unsigned versions.
435
-
436
427
Extended integral type support
437
428
------------------------------
438
429
439
- Several platforms support the 128-bit integral types ``__int128_t `` and
440
- ``__uint128_t ``. When these types are present they can be used in the headers
441
- as required by the Standard:
430
+ Several platforms support types that are not specified in the Standard, such as
431
+ the 128-bit integral types ``__int128_t `` and ``__uint128_t ``. As an extension,
432
+ libc++ does a best-effort attempt to support these types like other integral
433
+ types, by supporting them notably in:
442
434
443
435
* ``<bits> ``
444
436
* ``<charconv> ``
445
437
* ``<functional> ``
446
438
* ``<type_traits> ``
447
-
448
- As an extension these types can be used in the following headers:
449
-
450
439
* ``<format> ``
451
440
* ``<random> ``
452
441
442
+ Additional types supported in random distributions
443
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
444
+
445
+ The `C++ Standard <http://eel.is/c++draft/rand#req.genl-1.5 >`_ mentions that instantiating several random number
446
+ distributions with types other than ``short ``, ``int ``, ``long ``, ``long long ``, and their unsigned versions is
447
+ undefined. As an extension, libc++ supports instantiating ``binomial_distribution ``, ``discrete_distribution ``,
448
+ ``geometric_distribution ``, ``negative_binomial_distribution ``, ``poisson_distribution ``, and ``uniform_int_distribution ``
449
+ with ``int8_t ``, ``__int128_t `` and their unsigned versions.
450
+
453
451
Extensions to ``<format> ``
454
452
--------------------------
455
453
0 commit comments