[PATCH v3] libstdc++: Implement Philox Engine [PR119794]
1nfocalypse
1nfocalypse@protonmail.com
Fri Jul 18 09:09:13 GMT 2025
Implements Philox Engine (P2075R6) and associated tests.
Additionally implements changes based on feedback from Patrick
Palka and jwakely on v2.
Regarding the question posed by Patrick on why some things are
defined inline and some out of line, things were either defined inline
either due to being concise (i.e. max()), to keep parity with other
generators (equality operator overload), or for functionality
(istream/ostream operators). I particularly attempted defining the
stream operators out of line because they are fairly obtrusive, however,
I couldn't get functionality out of them out of line. I am happy to revisit this
if needed.
Of further note, altering version.def via autogen led to a line
in excess of 80 chars. Since it was the result of autogen, I let it lie. If this
was incorrect, I can adjust it.
Otherwise, thank you for the review, and please let me know if further
alterations are needed.
Built/tested on x86_64-linux-gnu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250718/6edf1d72/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-v3-libstdc-implement-Philox-Engine-PR119794.patch
Type: text/x-patch
Size: 35383 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250718/6edf1d72/attachment-0001.bin>
More information about the Libstdc++
mailing list