I slipped through the char* - I thought it will compare by characters, but you are absolutely right.
The string has custom comparator, so the string map key is the solution:
Code
map<std::string, map<int, deque<double>>> prices;

Thank you AndrewAMD and alun!

Last edited by NorbertSz; 09/19/22 10:50.