Mixing im::HashMap vs std::collections;:HashMap

#1

For code that uses both im::HashMap and std::collections::HashMap, how are people referring to the two?

  1. full name for both?
  2. HashMap = std::collections::HashMap, im::HashMap always full name ?
  3. some other scheme?
0 Likes

#2

Another choice is to rename them: use im::HashMap as ImHashMap;

1 Like

#3

I like this. ImHashMap and StdHashMap is probably best for ease of reading / code maintainability.

0 Likes