First page Back Continue Last page Overview Graphics
Containers in C++
Perl lists and arrays are C++ vectors.
Perl hashes are C++ maps.
C++ containers are generic – they can contain any particular type. They use templates.
C++ has many more container types than Perl: vector, list, map, multimap, deque, stack, queue and priority_queue.