|
Boost : |
Subject: Re: [boost] Review Request: Boost.Itl; The Interval Template Library
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2009-09-25 10:57:07
2009/9/25 Jeff Flinn <TriumphSprint2000_at_[hidden]>:
> Joachim Faulhaber wrote:
>>
>>>
>>> Ahh, where are the refs to the newly named _add & _subtract private
>>> methods?
>>
>> do you mean refs in the docs or refs in the code?
>>
>
> I mean refs in the code. All I did to get to compile with only the header
> include was to rename the private declaration and definition of _add and
> _subtract. I didn't change any calls to these private methods, I wasn't sure
> which to the non-underline-prefixed calls should really be calling the
> _add/_subtract.
>
I thought you'd update the code from the boost sandbox ...
wouldn't that be easier?
Here are the applications of _add and _subtract member
function templates. I am afraid though that those corrections
won't help with the ambiguous partial spec problem
applying operator +=
HTH Joachim
---------------
the line numbers might be changed slightly.
itl\interval_base_map.hpp(964):
section.that()->template
_add<codomain_intersect>(value_type(common_interval, sectant.second))
itl\interval_base_map.hpp(974):
section.that()->template
_add<codomain_combine>(value_type(common_interval, sectant.second));
itl\interval_base_map.hpp(1474): object.template
_add<inplace_max>(*elem_);
itl\map.hpp(242): return _add<codomain_combine>(value_pair);
itl\map.hpp(249): return _add<codomain_combine>(prior, value_pair);
itl\map.hpp(257): this->template
_add<inverse_codomain_combine>(value_pair);
itl\map.hpp(259): this->template
_subtract<inverse_codomain_combine>(value_pair);
itl\map.hpp(523): section.template
_add<codomain_intersect>(sectant);
itl\map.hpp(525): section.template
_add<codomain_combine>(sectant);
itl\map.hpp(573): section.template
_add<codomain_intersect>(*sec_);
itl\map.hpp(575): section.template _add<codomain_combine>(*sec_);
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk