Use `auto` and `decltype()` to deduce the actual type
Remove google sparsehash