Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2003-12-04 15:09:49

From: David Abrahams <dave_at_[hidden]>
> Rob Stewart <stewart_at_[hidden]> writes:
> >
> > I'm clearly missing something. How can there be an address for
> > impl::x if there's no instance of impl?
> >
> A pointer to non-static member exists independently of an object. You
> can bind it to an object and dereference it with
> object.*pointer_to_member

This is where I say, "duh." The required syntax to get the
address of a dm clearly requires no object. As you say, it isn't
bound to an object until you use it. I just never connected the
dots between the two before.


Rob Stewart                           stewart_at_[hidden]
Software Engineer           
Susquehanna International Group, LLP  using std::disclaimer;

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