filmov
tv
C++ iterator adaptors

Показать описание
In this Bits of Q tutorial we will be talking about iterator adaptors which can be used to create iterators for your data. You can use them to iterator over streams, write to containers and even turn one type of interator into another one.
By using iterator adaptors you can unlock access to all the algorithms from the standard library as well as write generic iterator based algoritms.
Related material:
-- TIMESTAMPS --
00:00 - Introduction
00:51 - istream_iterator
02:03 - ostream_iterator
03:28 - inserter_iterators
04:32 - Single-line input
05:10 - make_reverse_iterator
05:51 - generic iterator-based algos
07:35 - make_move_iterator
08:20 - more iterators
If you have any questions or feedback, just leave a comment below.
See you next time!
By using iterator adaptors you can unlock access to all the algorithms from the standard library as well as write generic iterator based algoritms.
Related material:
-- TIMESTAMPS --
00:00 - Introduction
00:51 - istream_iterator
02:03 - ostream_iterator
03:28 - inserter_iterators
04:32 - Single-line input
05:10 - make_reverse_iterator
05:51 - generic iterator-based algos
07:35 - make_move_iterator
08:20 - more iterators
If you have any questions or feedback, just leave a comment below.
See you next time!
C++ - iterator adaptors
C++ iterator adaptors
C++ : why should all iterators / iterator adaptors not-movable in C++11?
C++ Iterator Adapters (Part 1)
C++ STL Iterator Adapters (Part 1)
C++Now 2018: Jonathan Boccara “Smart Output Iterators”
STL C++ Iterators - Writing an iterator from scratch | Modern Cpp Series Ep. 138
C++ Weekly - Ep 279 - Quick Perf Tip: Use The Right Iterator Comparison
C++ STL Iterator Adapters (Part 2)
C++ STL Iterator Adapters (Part 2)
C++ STL Iterator Adapters (Part 3)
STL C++ Iterators - Iterator Invalidation | Modern Cpp Series Ep. 140
Iterators in Practice
Rust iterator adapters for handling ownership
What a View! Building Your Own (Lazy) Range Adaptors (part 1 of 2) - Chris Di Bella - CppCon 2019
const iterator vs regular iterator C++ STL
Why Iterators Got It All Wrong — And What We Should Use Instead - Arno Schödl - CppNow 2022
What a View! Building Your Own (Lazy) Range Adaptors (part 2 of 2) - Chris Di Bella - CppCon 2019
C++ - iterator categories
Do C++'s iterator categories forbid writing a UTF-8 iterator adapter?
Iterators Functions | C++ STL (Standard Template Library) | 4 important iterator functions
C++ STL std::stack (a container adaptor) | Modern Cpp Series Ep. 131
Back to Basics: Classic STL - Bob Steagall - CppCon 2021
CppCon 2016: “Building and Extending the Iterator Hierarchy in a Modern, Multicore World'
Комментарии