Boost logo

Boost Users :

From: Alexander Gutenev (gutenev_at_[hidden])
Date: 2008-09-03 10:36:26


Peter Dimov wrote in message news:005a01c90dca$cc72cbc0$6507a80a_at_pdimov2...

>> 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.
>
> Historical reasons. This is how boost::mem_fn was implemented and
> documented when it was first submitted for a Boost review, and nobody
> suggested using op* then. std::mem_fn is specified to use op*.

Ok, but what could be broken if mem_fn changed to .* now ?


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