In a program which I'm coding I need to use an structure as this one:
static std::unordered_map<size_t, int> map[N][M];
The problem is that I need to generate the size of the map dynamically, so I would define:
static std::unordered_map<size_t, int> **map
But I'm having problems allocating it. Any suggestion?
Thanks
std::vector?