This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3 PATCH] PR libstdc++/79141


On 2 April 2017 at 02:45, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:
> Tested on Linux-x64.


For what it's worth, here's a saner changelog that uses the signatures
that were originally in place. The patch
passes the full testsuite on Linux-PPC64 without regressions.

2017-04-02  Ville Voutilainen  <ville.voutilainen@gmail.com>

    PR libstdc++/79141
    * include/bits/stl_pair.h (__wrap_nonesuch): New.
    (operator=(typename conditional<
    __and_<is_copy_assignable<_T1>,
    is_copy_assignable<_T2>>::value,
    const pair&, const __nonesuch&>::type)): Change __nonesuch
    to __wrap_nonesuch.
    (operator=(typename conditional<
    __not_<__and_<is_copy_assignable<_T1>,
    is_copy_assignable<_T2>>>::value,
    const pair&, const __nonesuch&>::type)): Likewise.
    (operator=(typename conditional<
    __and_<is_move_assignable<_T1>,
    is_move_assignable<_T2>>::value,
    pair&&, __nonesuch&&>::type)): Likewise.
    * testsuite/20_util/pair/79141.cc: New.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]