I am doing everything correctly as far as I can tell and I have gotten the error message:
error: \'unordered_map\' does not name a type error: \'mymap\' does
You can't execute arbitrary expressions at global scope, so you should put
execute arbitrary expressions at global scope
mymap.reserve(7000);
inside main.
This is also true for other STL containers like map and vector.