Re: exception safety validation

2012-11-05 Thread François Dumont
I apply the attached patch. 2012-10-05 François Dumont * include/ext/throw_allocator.h (__throw_value_base): Add move semantic, not throwing. (__throw_value_limit): Likewise. (__throw_value_random): Likewise. * testsuite/util/exception/safety.h: Add validation of C++11

Re: exception safety validation

2012-11-05 Thread Jonathan Wakely
On 4 November 2012 16:01, Jonathan Wakely wrote: > On 3 November 2012 19:05, Paolo Carlini wrote: >> >> On 11/03/2012 03:43 PM, François Dumont wrote: >>> >>> Note that I run exception tests to validate it and the recently introduced >>> 23_containers/forward_list/allocator/noexcept.cc test doesn't

Re: exception safety validation

2012-11-04 Thread Jonathan Wakely
Ooh, I almost forgot, please remember to update the copyright years in the changed files. For trunk you can change them to ranges like 2005-2012 On 4 November 2012 16:01, Jonathan Wakely wrote: > On 3 November 2012 19:05, Paolo Carlini wrote: >> >> On 11/03/2012 03:43 PM, François Dumont wrote:

Re: exception safety validation

2012-11-04 Thread Jonathan Wakely
On 3 November 2012 19:05, Paolo Carlini wrote: > > On 11/03/2012 03:43 PM, François Dumont wrote: >> >> Note that I run exception tests to validate it and the recently introduced >> 23_containers/forward_list/allocator/noexcept.cc test doesn't work in debug >> mode. I think it needs a dg-require-no

Re: exception safety validation

2012-11-03 Thread Paolo Carlini
Hi, On 11/03/2012 03:43 PM, François Dumont wrote: On 11/03/2012 03:12 PM, Jonathan Wakely wrote: On 3 November 2012 14:11, Jonathan Wakely wrote: On 3 November 2012 13:53, François Dumont wrote: Here is an updated proposal using default implementations as much as possible. Please check the i

Re: exception safety validation

2012-11-03 Thread François Dumont
On 11/03/2012 03:12 PM, Jonathan Wakely wrote: On 3 November 2012 14:11, Jonathan Wakely wrote: On 3 November 2012 13:53, François Dumont wrote: Here is an updated proposal using default implementations as much as possible. Please check the indentation of the "struct emplace_point" specializat

Re: exception safety validation

2012-11-03 Thread Jonathan Wakely
On 3 November 2012 14:11, Jonathan Wakely wrote: > On 3 November 2012 13:53, François Dumont wrote: >> Here is an updated proposal using default implementations as much as >> possible. > > Please check the indentation of the "struct emplace_point" specializations. > > In testsuite/util/testsuite_co

Re: exception safety validation

2012-11-03 Thread Jonathan Wakely
On 3 November 2012 13:53, François Dumont wrote: > Here is an updated proposal using default implementations as much as > possible. Please check the indentation of the "struct emplace_point" specializations. In testsuite/util/testsuite_container_traits.h +#ifdef __GXX_EXPERIMENTAL_CXX0X__ +

Re: exception safety validation

2012-11-03 Thread François Dumont
On 09/28/2012 10:14 PM, François Dumont wrote: Hi I enhance scope of the small exception safety test framework used to validate different levels of exception safety through the containers operations. I have added calls to C++ methods emplace/emplace_front/emplace_back/emplace_hint in C++1