Agenda szkolenia
- Basic knowledge about smart pointers:
- Containers
- Sequence containers
- Associative containers
- Container adaptors
- Iterators
- STL algorithms:
- Non-modifying
- Modifying
- Numeric
- – Examples of STL and lambda ussage:
- Divide tasks by priority using std::priority_queue
- Remove elements from unsorted vector in O(1)
- Change a key value in the map
- Implement own STL algorithms (transform_if)
- Efficient and safe reading/ write from a file using std::copy and iterators
- Create your own simple iterator
- Copy and move data between different containers
- Lower and upper bound for fast searching in sorted containers
- Concatenate few sorted containers in one
- Easy way to work with std::tuple
- std::optional, std::variant and std::visit
- Examples of efficient and readable code with C++17 stuff (refactor your old C-style code)