any_iterator
not intended for use with output iterators, which means back_insert_iterator
(or, in any case, input iterators).
back_insert_iterator
defined as inherited from iterator<output_iterator_tag, void, void, void, void>
, i.e. its value_type
, reference_type
, distance_type
and pointer_type
all void
, but any_iterator
expects that it can indirectly through its iterator support to a any_iterator
value. Perhaps this would be better named any_value_iterator
; but then this is the template of the detail
class.
source share