From: George A. Heintzelman (georgeh_at_[hidden])
Date: 2002-01-28 15:02:39
I blurted, incompletely:
> > Finally, I thought it might be cute if data member pointers would be treated
> > as accessor functions by function/bind/mem_fn. Just a crazy idea...
> Not so crazy. I've thought about trying to do this myself. Rather than
> modify bind, I have used locally a mem_data(ptr-to-data-member) functor
> which creates such an accessor function. Making bind auto-recognize
> this like it does for mem_fn, IMHO, would be just fine. The only real
> issue is that you really do want con
st overloads of the functions, since changing the data will sometimes
be a serious option.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk