Boost logo

Boost :

From: Asger Mangaard (tmb_at_[hidden])
Date: 2005-10-21 04:27:21


When writing code that *could* access a zero pointer, should one do the
following:

1. Nothing
2. assert
3. Exception. In that case which one?

My guess would be 1 since an access violation exception will be thrown any
way (on VC++ at least), but now I'm not sure?

Regards,
Asger Mangaard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk