Boost logo

Boost :

Subject: Re: [boost] [range] fat iterators?
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2013-11-07 12:27:50


>> The trick, of course, will be keeping intermediate temporary ranges >> alive long enough to avoid lifetime issues when we chain adaptors and >> assign the result to a local variable. I think a range library that's >> sensitive to the value category of range objects and makes copies of >> rvalue ranges would solve this problem. Thoughts? > > This is definitely something that needs to be added. The challenge is > merely finding sufficient time to do so. Jeffrey Yaskin posted a candidate design, implemented for filter_iterator, here: https://svn.boost.org/trac/boost/ticket/7630 What do you think about this design? Regards, Nate


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