Currently, I have a vector of maps that contain strings as keys and size_t as a count which was useful to have as size_t before.
example of current vector:
(std::vector<std::map<std::string, size_t>> allFiles;)
Now I need to multiply those counts by numbers that contain decimals/doubles and store them. What would be the best and most efficient way to do this?
example of necessary vector:
(std::vector<std::map<std::string,double>> simMaps;)
Unfortunately for other reasons, I am hamstrung into only using the stdlib.
Ideally, I would not have to make a new vector of maps, as the keys are in the hundreds of thousands. However, I know that otherwise I would have to go through my whole program to change those to and hopefully no obscure errors pop up.
Any Ideas?