Re: Default std::list default and move constructors

2017-07-18 Thread Jonathan Wakely
On 12/07/17 22:12 +0200, François Dumont wrote: On 05/07/2017 17:22, Jonathan Wakely wrote: It's mostly good, but I'd like to make a few suggestions ... diff --git a/libstdc++-v3/include/bits/stl_list.h b/libstdc++-v3/include/bits/stl_list.h index 232885a..7e5 100644 --- a/libstdc++-v3/i

Re: Default std::list default and move constructors

2017-07-12 Thread François Dumont
On 05/07/2017 17:22, Jonathan Wakely wrote: It's mostly good, but I'd like to make a few suggestions ... diff --git a/libstdc++-v3/include/bits/stl_list.h b/libstdc++-v3/include/bits/stl_list.h index 232885a..7e5 100644 --- a/libstdc++-v3/include/bits/stl_list.h +++ b/libstdc++-v3/include

Re: Default std::list default and move constructors

2017-07-05 Thread Jonathan Wakely
On 26/06/17 21:29 +0200, François Dumont wrote: Hi Here is the patch to default implementation of std::list default and move constructors. I introduce _List_node_header to take care of the move implementation and also isolate management of the optional list size storage. I prefer it t

Default std::list default and move constructors

2017-06-26 Thread François Dumont
Hi Here is the patch to default implementation of std::list default and move constructors. I introduce _List_node_header to take care of the move implementation and also isolate management of the optional list size storage. I prefer it to usage of _List_node as move constructor seem