mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
libstdc++-v3/ChangeLog: * include/bits/random.h: Include <bits/ios_base.h> instead of <iomanip>. Change preprocessor checks to use internal feature test macro. (philox_engine): Reword doxygen comments. Use typename instead of class in template parameter lists. Reformat and adjust whitespace. (philox_engine::_If_seed_seq): Replace alias template with __is_seed_seq variable template. (philox_engine::philox_engine(result_type)): Define inline. (philox_engine::seed(result_type), philox_engine::set_counter) (philox_engine::operator(), philox_engine::discard): Likewise. (operator==): Define as defaulted. (operator<<): Reuse widened char. * include/bits/random.tcc: Reformat and adjust whitespace. (philox_engine::_M_philox): Use std::array copy constructor and std::array::fill instead of looping. * testsuite/26_numerics/random/philox4x32.cc: Gate test on feature test macro. Add static_assert to check typedef. * testsuite/26_numerics/random/philox4x64.cc: Likewise. * testsuite/26_numerics/random/philox_engine/cons/copy.cc: Add VERIFY assertions to check copies are equal. Test different seeds. * testsuite/26_numerics/random/philox_engine/cons/default.cc: Add VERIFY assertions to check construction results. * testsuite/26_numerics/random/philox_engine/cons/seed.cc: Likewise. * testsuite/26_numerics/random/philox_engine/operators/equal.cc: Also test inequality. * testsuite/26_numerics/random/philox_engine/operators/serialize.cc: Remove redundant include and return. * testsuite/26_numerics/random/philox_engine/requirements/constants.cc: Check values of all constants. * testsuite/26_numerics/random/philox_engine/requirements/typedefs.cc: Check typedefs are correct. * testsuite/26_numerics/random/philox_engine/cons/119794.cc: Removed. * testsuite/26_numerics/random/philox_engine/cons/seed_seq.cc: Removed. * testsuite/26_numerics/random/philox_engine/operators/inequal.cc: Removed. * testsuite/26_numerics/random/philox_engine/requirements/constexpr_data.cc: Removed. * testsuite/26_numerics/random/philox_engine/requirements/constexpr_functions.cc: Removed. * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line number.
file: libstdc++-v3/README New users may wish to point their web browsers to the file index.html in the 'doc/html' subdirectory. It contains brief building instructions and notes on how to configure the library in interesting ways.