Boost logo

Boost :

From: Jan Langer (jan_at_[hidden])
Date: 2002-03-03 11:20:59


On Sun, 3 Mar 2002, Dietmar Kuehl wrote:
>As strange as it may seem: No, I'm not at all forgetting this issue!
>Just because the value type is a string it does not mean that the
>string is the only entity stored in the iterator's representation - and
>it is not in my implementation. Instead, there is an access method the
>corresponding property maps use to get at the internal representation.
>What I had forgotten about was the indirection taken by property maps,
>ie. that they use a "key" rather than the iterator itself (I have always
>used iterators directly instead of a "key"). This would, however, settle
>what 'operator*()' is returning: A reference to an opaque structure. The

but the key should be the same like the one being passed to remove. IMO
string, not in the meaning of pathname but of an unique identifier.

>corresponding property maps know what to do about this structure to
>retrieve the attributes. This would also fix the problem of having two
>overload for directory iterators and directory entries as the directory
>entry would also provide access to a reference to the opaque structure
>for use as a key by the property maps.

-- 
jan langer ... jan_at_[hidden]
"pi ist genau drei"

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