Template Function ripple::fill_indices¶
Function Documentation¶
-
template<size_t
Size
, typenameIterator
, iterator_enable_t<Iterator> = 0>
autoripple
::
fill_indices
(std::array<uint32_t, Size> &indices, bool &set, Iterator &&it) noexcept -> void¶ Fills the given indices container if the iterator is an iterator.
- Note
This overload is for iterators.
- Note
This overload is for non-iterators, and does nothing.
- Parameters
indices
: The indices to fill from the iterator.set
: If the indices have previously been set.it
: The iterator to use to set the indices.
- Template Parameters
Size
: The size of the indices container.Iterator
: The type of the iterator.
- Parameters
indices
: The indices to fill from the iterator.set
: If the indices have previously been set.it
: The iterator to use to set the indices.
- Template Parameters
Size
: The size of the indices container.Iterator
: The type of the iterator.