Boost logo

Geometry :

Subject: Re: [geometry] rtree Value requirements
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2012-12-14 16:09:19


Barend Gehrels wrote:
>> I'm thinking about other change. For now default ctor is a
>> requirement. I'm considering removing this requirement to allow using
>> of the rtree for Values only with defined copy ctor and assignment op.
>
> OK.

Done.

As a bonus, I've added 2 versions of count(). First returns a number of
Values which Indexables are equal to a passed Indexable. This
corresponds to the std::map::count(Key) method. Second version returns
Values which are equal to a passed Value. This corresponds to
std::set::count(Key).

Regards,
Adam


Geometry list run by mateusz at loskot.net