Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-03-16 12:58:54


In message <83A2A724F77FD211A0B30008C78CDACE020711A2_at_[hidden]
erra.com>, Gary Powell <Gary.Powell_at_[hidden]> writes
[...]
> My understanding is that arg1::operator->*() must return a object whose
>member pointer has a MemberObj. If I had this offset data I could save it
>away and when the fn(*aIter pMobj) is called inside the transform, I could
>then do return pMobj->*Offset.
>
> Any help here would be appreciated.

Scott Meyers presented a framework for working with operator->* in DDJ
(October 1999). It's worth a read and I suspect it will answer many of
your questions: http://www.ddj.com/articles/1999/9910/9910b/9910b.htm
____________________________________________________________

  Kevlin Henney Curbralan Ltd
  kevlin_at_[hidden] +44 (0) 7801 073 508
____________________________________________________________


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk