Boost logo

Boost Users :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2006-03-06 13:08:43


On Mar 5, 2006, at 3:19 PM, Daniel Mitchell wrote:
> My initial statement was that the design leads to a situation that
> is *in some
> respects* at odds with convention. When property maps are viewed,
> not as
> first class containers of their data, but as having more-or-less
> the same
> status as container iterators, the situation clarifies. I suppose
> that must
> have been the author's intent.

I believe that was the intent. Property maps have shallow copying
semantics (like pointers and iterators), which often (but not always
<g>) implies that the constness of the data is not based on constness
of the type referencing the data.

        Doug


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net