![]() |
Spicy
|
Classes | |
class | Chain |
class | Chunk |
class | UnsafeConstIterator |
Typedefs | |
using | ChainPtr = IntrusivePtr< Chain > |
using | ConstChainPtr = IntrusivePtr< const Chain > |
Functions | |
std::ostream & | operator<< (std::ostream &out, const UnsafeConstIterator &x) |
template<int N> | |
UnsafeConstIterator | _extract (Byte *dst, const UnsafeConstIterator &i) |
template<> | |
UnsafeConstIterator | _extract< 0 > (Byte *, const UnsafeConstIterator &i) |
template<int N> | |
UnsafeConstIterator | extract (Byte *dst, const UnsafeConstIterator &i, const UnsafeConstIterator &end) |
Standard, unsafe iterator for internal usage. Unlike SafeConstIterator, this iterator version is not safe against the underlying stream instances disappearing or even changing; it will not catch that and likely causes crashes on access It also does not perform any bounds-checking. When using this, one hence needs to ensure that the stream instance will remain valid & unchanged for long as the iterator remains alive. In return, this iterator is more efficient than the SafeConstIterator
.