Boost logo

Boost :

Subject: Re: [boost] [ICL] interval_map::find(const domain_type_comparable&) instead of interval_map::find(const domain_type&)
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-05-23 07:29:13

2011/5/22 Jeff Flinn <Jeffrey.Flinn_at_[hidden]>:
> Denis wrote:
>> Hi Joachim
>> One small note about Icl maps.
>> I think would be useful to make interval_map::find()'s function accept any
>> type comparable to map's key.
>> For example, the key type is std::string and the user want to search using
>> a
>> 0-terminated string or a string defined as arbitrary pointer and a length.
>> Then the user will have to allocate the temporary string only to pass it
>> to
>> interval_map::find()
> Hmm, I can't find find in the docs :-p,

> and don't have ICL.


- Joachim

Interval Container Library [Boost.Icl]

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