Boost logo

Boost :

Subject: Re: [boost] [range] iterator_range operators are too greedy
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-11-08 17:17:17

Jeffrey Lee Hellrung, Jr. <jeffrey.hellrung <at>> writes:
> Is your type a range?


> How does its semantics differ from the operator== above?

I am building an expression template structure to delay operator== evaluation.

> Presumably if you want to specifically address
> boost::iterator_range, then
> template< class I >
> inline bool operator==(my_type, iterator_range<I>);
> should be a preferable overload.

Unfortunately it is not. I am getting ambiguity errors.


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