35template <
typename char_t,
typename traits_t = std::
char_traits<
char_t>>
107 assert(lhs.stream_buf !=
nullptr);
109 return (lhs.stream_buf->gptr() == lhs.stream_buf->egptr());
115 return !(lhs == std::default_sentinel);
121 return rhs == std::default_sentinel;
127 return !(rhs == std::default_sentinel);
Functionally the same as std::istreambuf_iterator, but faster.
Definition: fast_istreambuf_iterator.hpp:37
ptrdiff_t difference_type
Defaults to ptrdiff_t.
Definition: fast_istreambuf_iterator.hpp:46
void operator++(int)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: fast_istreambuf_iterator.hpp:87
fast_istreambuf_iterator & operator++()
Advance by one and rebuffer if necessary (vtable lookup iff rebuffering).
Definition: fast_istreambuf_iterator.hpp:76
reference operator*() const
Read current value from buffer (no vtable lookup, safe if not at end).
Definition: fast_istreambuf_iterator.hpp:94
fast_istreambuf_iterator() noexcept=default
Defaulted.
char_t reference
The char type of the stream.
Definition: fast_istreambuf_iterator.hpp:48
friend bool operator!=(std::default_sentinel_t const &, fast_istreambuf_iterator const &rhs) noexcept
True if the read buffer is empty; involves no vtable lookup.
Definition: fast_istreambuf_iterator.hpp:125
friend bool operator!=(fast_istreambuf_iterator const &lhs, std::default_sentinel_t const &) noexcept
True if the read buffer is empty; involves no vtable lookup.
Definition: fast_istreambuf_iterator.hpp:113
friend bool operator==(fast_istreambuf_iterator const &lhs, std::default_sentinel_t const &) noexcept
True if the read buffer is not empty; involves no vtable lookup.
Definition: fast_istreambuf_iterator.hpp:105
friend bool operator==(std::default_sentinel_t const &, fast_istreambuf_iterator const &rhs) noexcept
True if the read buffer is not empty; involves no vtable lookup.
Definition: fast_istreambuf_iterator.hpp:119
stream_buffer_exposer< char_t, traits_t > * stream_buf
Down-cast pointer to the stream-buffer.
Definition: fast_istreambuf_iterator.hpp:40
void pointer
Has no pointer type.
Definition: fast_istreambuf_iterator.hpp:49
char_t value_type
The char type of the stream.
Definition: fast_istreambuf_iterator.hpp:47
The internal SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
SeqAn specific customisations in the standard namespace.
Provides seqan3::detail::stream_buffer_exposer.
Functionally the same as std::basic_streambuf<char_t, traits_t_>, but exposes protected members as pu...
Definition: stream_buffer_exposer.hpp:35