
3 Mar
2004
3 Mar
'04
11:58 p.m.
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:000e01c40178$27c45ca0$1d00a8c0@pdimov2...
Yep, but you are optimizing the rare "public member" case.
I beg to differ. Simple ADTs are likely to have public members, ditto std::pair<>. Not to mention the fact that the member does not have to be public if the pointer you're binding to it is "this" or if you're in the "friendly" code. In fact, the problem David described was what largely prevented me from using BLL in my code -- an inline function + boost::ptr_fun() is very often easier to type and easier to read. ...Max...