Re: [committed] libstdc++: Fix std::get for std::tuple [PR101427]

2021-07-15 Thread Jonathan Wakely via Gcc-patches
On 15/07/21 16:26 +0100, Jonathan Wakely wrote: The std::get functions relied on deduction failing if more than one base class existed for the type T. However the implementation of Core DR 2303 (in r11-4693) made deduction succeed (and select the more-derived base class). This rewrites the impl

[committed] libstdc++: Fix std::get for std::tuple [PR101427]

2021-07-15 Thread Jonathan Wakely via Gcc-patches
The std::get functions relied on deduction failing if more than one base class existed for the type T. However the implementation of Core DR 2303 (in r11-4693) made deduction succeed (and select the more-derived base class). This rewrites the implementation of std::get to explicitly check for mor