codecs::iterator_sentinel_source¶
Defined in header <mgs/codecs/iterator_sentinel_source.hpp>
.
template <meta::input_iterator I, meta::sentinel_for<I> S = I>
class iterator_sentinel_source;
The class template iterator_sentinel_source models codecs::input_source by wrapping a meta::input_iterator and a meta::sentinel_for.
Template parameters¶
Name |
Description |
---|---|
I |
Input iterator type |
S |
Sentinel type |
Member functions¶
Name |
Description |
---|---|
Construct an input source from an iterator/sentinel range |
|
Fill a meta::output_iterator with the input range’s content |
|
Compute the maximum number of remaining bytes |
|
Returns the stored meta::input_iterator |
|
Returns the stored meta::sentinel_for<I> |