Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-29 17:04:47


Hi,

I'm wondering whether the get_pointer function used by mem_fn et
al. is really justified. Since you can't invoke a member function on a
null pointer anyway, why not simply use &*p for this purpose?

-Dave

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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