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

2019-03-26 Thread Jonathan Wakely
On 26/03/19 16:48 +0200, Ville Voutilainen wrote: Slight tweak, the condition for _M_valid and _Extra_visit_slot_needed is now in sync. OK, thanks. PR libstdc++/89825 Fix based on a suggestion by Antony Polukhin. * include/std/variant (__never_valueless): New. (_M_valid): Use it.

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

2019-03-26 Thread Ville Voutilainen
Slight tweak, the condition for _M_valid and _Extra_visit_slot_needed is now in sync. 2019-03-26 Ville Voutilainen PR libstdc++/89825 Fix based on a suggestion by Antony Polukhin. * include/std/variant (__never_valueless): New. (_M_valid): Use it. (_Extra_visit_slot_needed)

[v3 PATCH] PR libstdc++/89825

2019-03-26 Thread Ville Voutilainen
2019-03-26 Ville Voutilainen PR libstdc++/89825 Fix based on a suggestion by Antony Polukhin. * include/std/variant (_Extra_visit_slot_needed): New. (_Multi_array): Use it. (_S_apply_all_alts): Likewise. diff --git a/libstdc++-v3/include/std/variant b/libstdc++-v3/include/st