1 #ifndef HASHMULTIMAP_HPP
2 #define HASHMULTIMAP_HPP
4 #include "blub/core/pair.hpp"
6 #include <boost/unordered_map.hpp>
18 class hashMapMulti :
public boost::unordered::unordered_multimap<S, T, H, P, A>
21 typedef boost::unordered::unordered_multimap<S, T, H, P, A> t_base;
22 typedef std::pair<typename t_base::iterator, typename t_base::iterator> equal_range_result;
23 typedef std::pair<typename t_base::const_iterator, typename t_base::const_iterator> equal_range_result_const;
29 typename t_base::const_iterator constBegin()
const
31 return t_base::cbegin();
34 typename t_base::const_iterator constEnd()
const
36 return t_base::cend();
39 void insert(
const typename t_base::key_type& key,
const typename t_base::mapped_type& value)
42 t_base::insert(toInsert);
45 void remove(
const typename t_base::key_type& key)
50 bool contains(
const typename t_base::key_type& key)
const
52 return t_base::find(key) != t_base::cend();
60 #endif // HASHMULTIMAP_HPP
Definition: hashMapMulti.hpp:18
Definition: deadlineTimer.hpp:10