Boost logo

Boost :

Subject: [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 02:58:44


Wouldn't it be a good idea to add a conversion operator to
the class iterator_range?

This would allow to write functions returning a range,
instead of a pair of iterators, but boost::tie would
still work with it.

Best regards,

andreas

-- 
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