Debug unordered containers code cleanup

2018-10-22 Thread François Dumont
I plan to commit the attached patch this week if not told otherwise. This is to generalize usage of C++11 direct initialization in unordered containers. It also avoids a number of safe iterator instantiations.     * include/debug/unordered_map     (unordered_map<>::begin()): Use C++11 direct

Re: Debug unordered containers code cleanup

2018-10-23 Thread Jonathan Wakely
On 22/10/18 22:45 +0200, François Dumont wrote: I plan to commit the attached patch this week if not told otherwise. Looks good. This is to generalize usage of C++11 direct initialization in unordered containers. It also avoids a number of safe iterator instantiations. Would the followin

Re: Debug unordered containers code cleanup

2018-10-23 Thread François Dumont
On 10/23/2018 11:52 AM, Jonathan Wakely wrote: On 22/10/18 22:45 +0200, François Dumont wrote: I plan to commit the attached patch this week if not told otherwise. Looks good. This is to generalize usage of C++11 direct initialization in unordered containers. It also avoids a number of sa

Re: Debug unordered containers code cleanup

2018-10-23 Thread Jonathan Wakely
On 23/10/18 22:35 +0200, François Dumont wrote: On 10/23/2018 11:52 AM, Jonathan Wakely wrote: On 22/10/18 22:45 +0200, François Dumont wrote: I plan to commit the attached patch this week if not told otherwise. Looks good. This is to generalize usage of C++11 direct initialization in unor