What about defining a type for the container? E.g. `typedef map<string, string> ConfigType` then you can use `ConfigType::const_iterator` instead of `map<string, string>::const_iterator` in all code.

This allows also easily change the container to e.g. `set` only by changing the `typedef`.