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,

http://www.boost.org/doc/libs/1_46_1/libs/icl/doc/html/boost_icl/function_reference/selection.html

> and don't have ICL.

=(

- Joachim

-- 
Interval Container Library [Boost.Icl]
http://www.joachim-faulhaber.de

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