template <typename K, typename V>class Storage {...private: typedef std::list<V> List; typedef std::map<K, List::iterator> Map; Map m_map; List m_list;};