Re: [PATCH] Do not use tuple-like interface for pair in unordered containers

2021-08-11 Thread François Dumont via Gcc-patches
Hi     Sorry for the delay, I had just miss this message.     I think you are clearly more expert than me for the changes you propose. I had a look at the patch and it seems just fine as it keeps the forwarding as expected. Nice simplification in _NodeBuilder<_Select1st>, we indeed only need

Re: [PATCH] Do not use tuple-like interface for pair in unordered containers

2021-07-26 Thread Jonathan Wakely via Gcc-patches
On 23/07/21 19:21 +0100, Jonathan Wakely wrote: I've been experimenting with this patch, which removes the need to use std::tuple_element and std::get to access the members of a std::pair in unordered_{map,multimap}. I'm in the process of refactoring the header to reduce header dependencies thr