11 Mar
2013
11 Mar
'13
8:51 p.m.
El 11/03/2013 13:20, lazylabs@gmail.com escribió:
However, I would prefer to do this with a std::string, which results in compilation errors:
persons->at(std::string("H")).print();
Is it possible to write the above statement, i.e. accessing the map allocated in shared memory with std::string?
No, as the key_type is not std::string. It's a bit ugly but to fix this has no easy fix. Best, Ion