Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-23 08:51:58


On Monday 23 September 2002 08:56 am, Thomas Witt wrote:
> IIUC there is another glitch.
> inline void add_if_trackable(const trackable* b, truth<true>) const checks
> for b being null. Either this check is obsolete or the code depends on
> undefined behaviour as b's value gets dereferenced in
> void maybe_get_pointer(const T& t, truth<true>) const.

Thanks again. I've moved the null pointer check up where it should be.

This would be _so_ much easier with partial ordering of function templates :(

        Doug


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