Boost logo

Boost Users :

From: Alexander (gutenev_at_[hidden])
Date: 2008-09-03 07:57:15


Peter Dimov wrote in message news:004301c90cef$94246520$6507a80a_at_pdimov2...

> It works by design. boost::mem_fn uses get_pointer, and get_pointer for
> auto_ptr returns .get().

Why there is get_pointer function ?
As far as I can see, the same could be done with combination of operator *
and operator .* , this would work for most smart-pointers without need to
have get_pointer function.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net