Section STL Algorithms Slides
Section STL Algorithms Slides
2
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
STL Algorithms : Introduction
3
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Standard Template Library
4
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Legacy algorithms Work on iterator pairs
5
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
6
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::all_of , std::any_of &
std::none_of
7
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::all_of
8
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::any_of
9
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::none_of
10
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
11
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::for_each()
12
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::for_each
13
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::for_each
14
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
15
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::max_element &
std::min_element
16
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::max_element() & std::min_element()
17
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::max_element() & std::min_element()
18
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
19
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::find()& std::find_if()
20
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::find()& std::find_if()
21
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::find()& std::find_if()
22
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
23
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::copy
24
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::copy()
25
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::copy()
26
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
27
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::sort()
28
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::sort()
29
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::sort()
30
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::sort()
31
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
32
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
std::transform()
33
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
34
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
35
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
STL Algorithms : Summary
36
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Standard Template Library
37
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Legacy algorithms Work on iterator pairs
38
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya
Slide intentionally left empty
39
The C++ 20 Masterclass : From Fundamentals to Advanced © Daniel Gakwaya