|
Boost : |
Subject: [boost] [iterator] Using iterator_facade with range-v3
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2016-04-11 10:34:43
I'm having trouble using iterators implemented in terms of
boost::iterator_facade with the range-v3 library.
The problem is decltype(it++) which in my case
is postfix_increment_proxy<>, desn't model the Readable concept, because it
isn't DefaultConstructible and doesn't have a ppublic value_type nested
typedef.
To me it seems reasonable to require decltype(it++) to model Readable, so I
created a ticket (a test case and a patch with the proposed solution
included) please see:
https://svn.boost.org/trac/boost/ticket/12071
See also the discussion at range-v3:
https://github.com/ericniebler/range-v3/issues/304
Kind regards,
Kris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk