diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-04-27 13:43:23 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-04-27 14:04:36 +0100 |
commit | 39073938b4e85fdbdc897c32e56fb5fc59ded9b5 (patch) | |
tree | ef167b9db2d4ed590d81284885bfb8a21be3fec6 /gcc/tree-stdarg.c | |
parent | 9ee35a8685ee174c6914059143aceb7009d3e920 (diff) | |
download | gcc-39073938b4e85fdbdc897c32e56fb5fc59ded9b5.zip gcc-39073938b4e85fdbdc897c32e56fb5fc59ded9b5.tar.gz gcc-39073938b4e85fdbdc897c32e56fb5fc59ded9b5.tar.bz2 |
libstdc++: Minor refactoring in <experimental/internet>
libstdc++-v3/ChangeLog:
* include/experimental/internet (address_v6::bytes_type): Adjust
formatting.
(basic_endpoint): Define _M_is_v6() to put all checks for
AF_INET6 in one place.
(basic_endpoint::resize): Simplify.
(operator==(const tcp&, const tcp&)): Add constexpr and noexcept.
(operator!=(const tcp&, const tcp&)): Likewise.
(operator==(const udp&, const udp&)): Likewise.
(operator!=(const udp&, const udp&)): Likewise.
* testsuite/experimental/net/internet/tcp.cc: New test.
* testsuite/experimental/net/internet/udp.cc: New test.
Diffstat (limited to 'gcc/tree-stdarg.c')
0 files changed, 0 insertions, 0 deletions