Boost logo

Boost :

Subject: Re: [boost] [range] why not adding conversion operator std::pair<FTI.FTI> to boost iterator_range
From: Andreas Fabri (andreas.fabri_at_[hidden])
Date: 2014-06-11 08:49:48


By contract it is an ForwardTraversalIterator

template< class ForwardTraversalIterator >
     class iterator_range

http://www.boost.org/doc/libs/1_55_0/libs/range/doc/html/range/reference/utilities/iterator_range.html

andreas

On 11/06/2014 14:34, Andrey Semashev wrote:
>
> On Wednesday 11 June 2014 08:58:44 Andreas Fabri wrote:
>> Wouldn't it be a good idea to add a conversion operator to
>> the class iterator_range?
>
> I suppose, the problem is that there is no reliable way to know that a certain
> type T is an iterator.
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912    skype: andreas.fabri

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