This is an example from the e-book "Jumping into C++" by Alex Allain which I downloaded from here. On page 207 he has this code snippet:
#include <map>
#include <string>
using namespace std;
map<string, string> name_to_email;
My question is, please, what is the meaning of the last line, in particular the significance of the "<
" and ">
". Can the line be written map < string, string > name_to_email;
i.e. must here be no spaces as I have inserted them?