Le 21/03/14 19:56, Georg Baum a écrit :
Vincent van Ravesteijn wrote:

On the other hand, I don't like using pointers instead. It feels fragile
to compare pointers. Why not just a "std::string language" as the key ?

Languages are compared by pointers at many other places, which of course
assumes that the only language objects live in the global language list. If
this is not considered safe anymore those places should be changed as well.

I had the same thought. In any case it did not make much a difference in my case (31.5MB vs. 31.27MB).

JMarc

Reply via email to