2 // Copyright (C) 2008-2009 Daniel James.
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_UNORDERED_MAP_FWD_HPP_INCLUDED
7 #define BOOST_UNORDERED_MAP_FWD_HPP_INCLUDED
9 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
13 #include <boost/config.hpp>
16 #include <boost/functional/hash_fwd.hpp>
22 class Hash
= hash
<Key
>,
23 class Pred
= std::equal_to
<Key
>,
24 class Alloc
= std::allocator
<std::pair
<const Key
, T
> > >
26 template <class K
, class T
, class H
, class P
, class A
>
27 bool operator==(unordered_map
<K
, T
, H
, P
, A
> const&,
28 unordered_map
<K
, T
, H
, P
, A
> const&);
29 template <class K
, class T
, class H
, class P
, class A
>
30 bool operator!=(unordered_map
<K
, T
, H
, P
, A
> const&,
31 unordered_map
<K
, T
, H
, P
, A
> const&);
32 template <class K
, class T
, class H
, class P
, class A
>
33 void swap(unordered_map
<K
, T
, H
, P
, A
>&,
34 unordered_map
<K
, T
, H
, P
, A
>&);
38 class Hash
= hash
<Key
>,
39 class Pred
= std::equal_to
<Key
>,
40 class Alloc
= std::allocator
<std::pair
<const Key
, T
> > >
41 class unordered_multimap
;
42 template <class K
, class T
, class H
, class P
, class A
>
43 bool operator==(unordered_multimap
<K
, T
, H
, P
, A
> const&,
44 unordered_multimap
<K
, T
, H
, P
, A
> const&);
45 template <class K
, class T
, class H
, class P
, class A
>
46 bool operator!=(unordered_multimap
<K
, T
, H
, P
, A
> const&,
47 unordered_multimap
<K
, T
, H
, P
, A
> const&);
48 template <class K
, class T
, class H
, class P
, class A
>
49 void swap(unordered_multimap
<K
, T
, H
, P
, A
>&,
50 unordered_multimap
<K
, T
, H
, P
, A
>&);