This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH 1/3] Fix tests for std::variant to match original intention
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 17 Apr 2019 19:17:06 +0300
- Subject: Re: [PATCH 1/3] Fix tests for std::variant to match original intention
- References: <20190417160743.GA31346@redhat.com>
On Wed, 17 Apr 2019 at 19:07, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> * testsuite/20_util/variant/compile.cc (MoveCtorOnly): Fix type to
> actually match its name.
> (MoveCtorAndSwapOnly): Define new type that adds swap to MoveCtorOnly.
> (test_swap()): Fix result for MoveCtorOnly and check
> MoveCtorAndSwapOnly.
>
> Tested powerpc64le-linux.
Looks good to me.