Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-05-02 07:26:58

From: "Doug Gregor" <gregod_at_[hidden]>

> boost::function essentially does use 'mutable' internally, because the
> erasure done to remove virtual functions uses free function pointers. It
> isn't undefined behavior, just surprising behavior to the user expecting
> get a const operator() called from a const boost::function.

Yep, you're right, I had another implementation in mind when I wrote that.

Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at, gregod at, cpdaniel at, john at