The C++ Standard Template Library is a set of template classes that let you easily implement common algorithms and data structures. Explore the Standard Library algorithms and operations, including sorting and merging.
Learning Objectives
Nonmodifying Sequence Operations in C++
- start the course
- describe the key features of Standard Template Library algorithms including nonmodifying vs. modifying
- use the std::for_each expression in C++
- recognize iterators using find in C++
- use the std::find_if in C++
- demonstrate how to use nonmodifying algorithms with containers
Modifying Sequence Operations in C++
- use iterators to copy and move in C++
- use std::replace in C++
- demonstrate how to use modifying algorithms with containers
STL Sorting Operations
- use std::sort expression in C++
- recognize iterators using sort in C++
- use Standard Template Library Sorting with Containers in C++
- use Standard Template Library Sorting with Objects in C++
STL Merging Algorithms
- use std::merge in C++
- use std::includes in C++
- work with Standard Template Library Operations for sets in C++
Practice: Algorithms and Operations
- work with modifying, nonmodifying, sorting, and merging algorithms and operations in C++