Re: [PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-22 Thread Jonathan Wakely
On 22/06/18 15:14 +0200, Christophe Lyon wrote: Hi, On Fri, 22 Jun 2018 at 14:54, Jonathan Wakely wrote: On 22/06/18 14:51 +0200, Rainer Orth wrote: >Hi Jonathan, > >> The SSO basic_string has a non-standard insert(iterator, initializer_list) >> overload, from a C++0x draft. This adds the

Re: [PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-22 Thread Jonathan Wakely
On 22/06/18 14:13 +0100, Jonathan Wakely wrote: On 22/06/18 13:54 +0100, Jonathan Wakely wrote: On 22/06/18 14:51 +0200, Rainer Orth wrote: Hi Jonathan, The SSO basic_string has a non-standard insert(iterator, initializer_list) overload, from a C++0x draft. This adds the correct overload,

Re: [PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-22 Thread Christophe Lyon
Hi, On Fri, 22 Jun 2018 at 14:54, Jonathan Wakely wrote: > > On 22/06/18 14:51 +0200, Rainer Orth wrote: > >Hi Jonathan, > > > >> The SSO basic_string has a non-standard insert(iterator, initializer_list) > >> overload, from a C++0x draft. This adds the correct overload, while also > >>

Re: [PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-22 Thread Jonathan Wakely
On 22/06/18 13:54 +0100, Jonathan Wakely wrote: On 22/06/18 14:51 +0200, Rainer Orth wrote: Hi Jonathan, The SSO basic_string has a non-standard insert(iterator, initializer_list) overload, from a C++0x draft. This adds the correct overload, while also preserving the old one so that the old

Re: [PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-22 Thread Jonathan Wakely
On 22/06/18 14:51 +0200, Rainer Orth wrote: Hi Jonathan, The SSO basic_string has a non-standard insert(iterator, initializer_list) overload, from a C++0x draft. This adds the correct overload, while also preserving the old one so that the old symbol is still exported from the library. The

Re: [PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-22 Thread Rainer Orth
Hi Jonathan, > The SSO basic_string has a non-standard insert(iterator, initializer_list) > overload, from a C++0x draft. This adds the correct overload, while also > preserving the old one so that the old symbol is still exported from the > library. > > The COW basic_string doesn't have any of

[PATCH] PR libstdc++/83328 add correct basic_string::insert for initializer_list

2018-06-21 Thread Jonathan Wakely
The SSO basic_string has a non-standard insert(iterator, initializer_list) overload, from a C++0x draft. This adds the correct overload, while also preserving the old one so that the old symbol is still exported from the library. The COW basic_string doesn't have any of the C++11 changes to the