
Benoit <benoit.casoetto@m4x.org> writes:
Now that I'm seeing it clearly, it looks like object is a property maps of property maps and so on. Was that your intention? No !!! object is simply the key to pn, and can be used like this : get( pn, object). The get function returns an item which is a key for property map p(n-1). And so forth until the actual information we are trying to retrieve...
get( p, object )
IIUC, p is your composite of, say, p1 and p2? Is object a property map for whom p is a key? p is definitely a composite of p1 and p2. But i stated above, object is in no way a property map ; it is simply the key to p, which is a property map.
i hope things are getting clearer, it seems the more i try to explain, the more confuse it gets !
IIUC, Benoit wants, essentially, the property map equivalent of an indirect iterator. -- Dave Abrahams Boost Consulting www.boost-consulting.com