[PATCH 1/3] Fix tests for std::variant to match original intention

Ville Voutilainen ville.voutilainen@gmail.com
Wed Apr 17 16:17:00 GMT 2019


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.



More information about the Libstdc++ mailing list