[committed 1/3] libstdc++ Simplify definition of net::socket_base constants

Jonathan Wakely jwakely@redhat.com
Mon Apr 26 20:20:16 GMT 2021


On 23/04/21 13:58 +0100, Jonathan Wakely wrote:
>libstdc++-v3/ChangeLog:
>
>	* include/experimental/socket (socket_base::shutdown_type):
>	(socket_base::wait_type, socket_base::message_flags):
>	Remove enumerators. Initialize constants directly with desired
>	values.
>	(socket_base::message_flags): Make all operators constexpr and
>	noexcept.
>	* testsuite/util/testsuite_common_types.h (test_bitmask_values):
>	New test utility.
>	* testsuite/experimental/net/socket/socket_base.cc: New test.

And similarly for the constants in net::ip_resolver_base.

Tested powerpc64le-linux and powerpc-aix. Committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 6513 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20210426/9393c186/attachment-0001.bin>


More information about the Libstdc++ mailing list