return i->second;
}
+template<typename T>
+const typename T::iterator insert_unique(T &map, const typename T::key_type &key, const typename T::mapped_type &item)
+{
+ if(map.count(key))
+ throw key_error(typeid(T));
+
+ return map.insert(typename T::value_type(key, item)).first;
+}
+
} // namespace Msp
#endif