Re: [v3 patch] Extend smart ptr assertions to reject void*

2013-10-31 Thread Jonathan Wakely
On 30 October 2013 19:49, Jonathan Wakely wrote: > Because of the GNU extension that allows sizeof(void) we fail to > reject ill-formed programs. This patch fixes that. > > 2013-10-30 Jonathan Wakely > > * include/bits/shared_ptr (__shared_ptr): Assert non-void pointer. > * inclu

[v3 patch] Extend smart ptr assertions to reject void*

2013-10-30 Thread Jonathan Wakely
Because of the GNU extension that allows sizeof(void) we fail to reject ill-formed programs. This patch fixes that. 2013-10-30 Jonathan Wakely * include/bits/shared_ptr (__shared_ptr): Assert non-void pointer. * include/bits/shared_ptr (default_delete): Likewise. * incl