9 Oct
2013
9 Oct
'13
8:50 a.m.
Is template < typename T >struct MySmartyPointer{T *p; explicit constexprMySmartyPointer( T *p, bool throw_on_null = false ): p( p || !throw_on_null ? p : throw Something{} ){}}; a good substitute?
On 8 October 2013 13:17, Thorsten Ottosen
wrote: We are indeed going in circles. I can respect that some people don't want the overhead of the runtime check. I can also respect that people don't want to take down the whole server because of a bug in some subsystem.
Daryle W.