diff options
author | Nina Dinka Ranns <dinka.ranns@gmail.com> | 2019-05-14 15:48:27 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-05-14 16:48:27 +0100 |
commit | a73d2fa852c5104c458f2877a0fc361ab8507660 (patch) | |
tree | 3c15fd80d60e9927584b4d66b66cb9d67f9275f7 /gcc | |
parent | 330b17474c618af0574c0b8e83a06287e53afe87 (diff) | |
download | gcc-a73d2fa852c5104c458f2877a0fc361ab8507660.zip gcc-a73d2fa852c5104c458f2877a0fc361ab8507660.tar.gz gcc-a73d2fa852c5104c458f2877a0fc361ab8507660.tar.bz2 |
nonesuch is insufficiently useless (lwg2996)
2019-05-14 Nina Dinka Ranns <dinka.ranns@gmail.com>
nonesuch is insufficiently useless (lwg2996)
* include/std/type_traits (struct __nonesuch): Added private base
class to make __nonesuch not an aggregate and removed deleted default
constructor.
* include/bits/stl_pair.h (struct __nonesuch_no_braces): Removed.
(operator=(const pair&)): Use __nonesuch instead of
__nonesuch_no_braces.
(operator=(pair&&)): Likewise
* include/std/tuple (operator=(const tuple&)): Use __nonesuch instead
of __nonesuch_no_braces.
(operator=(tuple&&)): Likewise
* include/experimental/type_traits (struct nonesuch): Added private
base class to make nonesuch not an aggregate and removed deleted
default constructor.
* testsuite/20_util/nonesuch/nonesuch.cc: New.
* testsuite/experimental/type_traits/nonesuch.cc: New.
From-SVN: r271175
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions