#include "load_binary_tree_from_random_access_iterator.h"
#include <iostream>
#include <string>
#include <map>
#include <iterator>
#include <vector>

Go to the source code of this file.
Classes | |
| class | employee |
| This is a sample class which can be stored in a map or multimap. More... | |
| class | Create_Map_Pair |
| This is a sample functor which is can be used to create pairs for insertion intot a map or multimap. More... | |
Functions | |
| ostream & | operator<< (ostream &os, const employee &e) |
| std::pair< int, employee > | create_map_pair (const employee &e) |
| ostream & | operator<< (ostream &os, const std::pair< int, employee > &e) |
| int | main () |
Variables | |
| employee | workers [] |
Definition in file demo_load_map_from_vector.cpp.
| employee workers[] |
Initial value:
{
{ 1, "Jack"},
{ 2, "Harry"},
{ 3, "Joe"},
{ 4, "Jack"},
{ 5, "Harry"},
{ 6, "Joe"},
{ 7, "Jack"},
{ 8, "Harry"},
{ 9, "Joe"},
}
Definition at line 82 of file demo_load_map_from_vector.cpp.
1.5.8