gcc throws fatal error: unordered_map.h: No such file or directory on #include . I am using CMAKE, and gcc 4.8.5 compiler.
main:
#include "a.h"
...
void main() { ...}
a.h:
#include <unordered_map>
gcc throws fatal error: unordered_map.h: No such file or directory on #include . I am using CMAKE, and gcc 4.8.5 compiler.
main:
#include "a.h"
...
void main() { ...}
a.h:
#include <unordered_map>
I wasn't able to cross reference, but it says that unordered_map was introduced in C++11.
Source: https://en.cppreference.com/w/cpp/container/unordered_map