Re: [PATCH 1/3] libstdc++: Separate construct/convertibility tests for std::tuple

2022-08-23 Thread Jonathan Wakely via Gcc-patches
On Tue, 23 Aug 2022 at 14:44, Patrick Palka wrote: > > On Tue, 23 Aug 2022, Jonathan Wakely wrote: > > > On Tue, 23 Aug 2022 at 02:35, Patrick Palka via Libstdc++ > > wrote: > > > > > > P2321R2 adds new conditionally explicit constructors to std::tuple which > > > we'll concisely implement in a s

Re: [PATCH 1/3] libstdc++: Separate construct/convertibility tests for std::tuple

2022-08-23 Thread Patrick Palka via Gcc-patches
On Tue, 23 Aug 2022, Jonathan Wakely wrote: > On Tue, 23 Aug 2022 at 02:35, Patrick Palka via Libstdc++ > wrote: > > > > P2321R2 adds new conditionally explicit constructors to std::tuple which > > we'll concisely implement in a subsequent patch using explicit(bool), like > > in our C++20 std::pa

Re: [PATCH 1/3] libstdc++: Separate construct/convertibility tests for std::tuple

2022-08-23 Thread Jonathan Wakely via Gcc-patches
On Tue, 23 Aug 2022 at 02:35, Patrick Palka via Libstdc++ wrote: > > P2321R2 adds new conditionally explicit constructors to std::tuple which > we'll concisely implement in a subsequent patch using explicit(bool), like > in our C++20 std::pair implementation. But before we can do that, this > pat

[PATCH 1/3] libstdc++: Separate construct/convertibility tests for std::tuple

2022-08-22 Thread Patrick Palka via Gcc-patches
P2321R2 adds new conditionally explicit constructors to std::tuple which we'll concisely implement in a subsequent patch using explicit(bool), like in our C++20 std::pair implementation. But before we can do that, this patch first adds members to _TupleConstraints that test for constructibility an