Class podio::BackInsertIterator
-
template<typename Collection>
class BackInsertIterator An output iterator that forwards assigned handles to a collection’s push_back.
Unlike std::back_insert_iterator, this iterator preserves the handle type, allowing mutable handles (e.g. clones) to be inserted into owning collections. The collection’s existing ownership and subset insertion rules still apply. The destination collection must outlive the iterator.
Public Types
-
using container_type = Collection
-
using iterator_category = std::output_iterator_tag
-
using value_type = void
-
using difference_type = std::ptrdiff_t
-
using pointer = void
-
using reference = void
Public Functions
-
BackInsertIterator() = default
-
inline explicit BackInsertIterator(Collection &collection) noexcept
-
template<typename T>
inline BackInsertIterator &operator=(T &&value)
-
inline BackInsertIterator &operator*() noexcept
-
inline BackInsertIterator &operator++() noexcept
-
inline BackInsertIterator operator++(int) noexcept
-
using container_type = Collection