Working With Maps

Let's examine the new behavior of maps in C++17.

For now, do not concern yourself with the purpose of the code below. We will only be examining the following functions and utilities:

  • mapCopy from std::map
  • insert_or_assign
  • if statement
  • Improved for loop functionality

Get hands-on with 1200+ tech skills courses.