C++ Tutorial: How to use a map with Custom Keys

Опубликовано: 29 Сентябрь 2024
на канале: CS Hero
117
1

This video demonstrates how to use a custom class as key in a std::map (map from C++ standard library). It shows how to overload the smaller than operator in a class.

Watch the following video on an introduction to a map:
   • C++ Tutorial: The map Class