Exercise: Tag Dispatching
Test your understanding of the tag dispatching idiom.
We'll cover the following
Problem statement
Read the following code and extend it so that you advance an iterator of a std::vector
, a std::list
, and a std::forward_list
by five positions.
Coding exercise
Get hands-on with 1300+ tech skills courses.