53 return payload_type::withoutValue();
56 return payload_type::withValue(value);
74 make::ptr<details::FromStlIterator<It>>(
begin,
end)
Creator for an iterator-based range.
StreamIteratorPayload< T > payload_type
Type alias for the payload used.
Global namespace of the SCL.
typename std::iterator_traits< It >::value_type iterator_value_type
A type alias for the value type from the iterator traits.
payload_type next() override
Retrieve the next iterator payload.
bool hasNext() const override
Determines whether or not this iterator can produce another value payload.
virtual StlAdapter< iterator_value_type< It > > end()
Retrieve a stl-like iterator for the end of this stream iterator.
virtual StlAdapter< iterator_value_type< It > > begin()
Retrieve a stl-like iterator for this stream iterator.
A class for iterators that start a stream chain.
It end
the iterator to the point after the last element
Stream< T > streamFrom(std::array< T, N > a)
Create an scl::stream::Stream from a std::array.
typename iterator_type::payload_type payload_type
FromStlIterator(It begin, It end)
Construct the iterator from STL-like iterators.
Class representing a stream of data.
iterator_value_type< It > value_type