1 | |
---|
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) |
---|
5 | |
---|
6 | #ifndef BOOST_UNORDERED_SET_FWD_HPP_INCLUDED |
---|
7 | #define BOOST_UNORDERED_SET_FWD_HPP_INCLUDED |
---|
8 | |
---|
9 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
10 | # pragma once |
---|
11 | #endif |
---|
12 | |
---|
13 | #include <boost/config.hpp> |
---|
14 | #include <memory> |
---|
15 | #include <functional> |
---|
16 | #include <boost/functional/hash_fwd.hpp> |
---|
17 | |
---|
18 | namespace boost |
---|
19 | { |
---|
20 | template <class T, |
---|
21 | class H = hash<T>, |
---|
22 | class P = std::equal_to<T>, |
---|
23 | class A = std::allocator<T> > |
---|
24 | class unordered_set; |
---|
25 | template <class T, class H, class P, class A> |
---|
26 | bool operator==(unordered_set<T, H, P, A> const&, |
---|
27 | unordered_set<T, H, P, A> const&); |
---|
28 | template <class T, class H, class P, class A> |
---|
29 | bool operator!=(unordered_set<T, H, P, A> const&, |
---|
30 | unordered_set<T, H, P, A> const&); |
---|
31 | template <class T, class H, class P, class A> |
---|
32 | void swap(unordered_set<T, H, P, A> &m1, |
---|
33 | unordered_set<T, H, P, A> &m2); |
---|
34 | |
---|
35 | template <class T, |
---|
36 | class H = hash<T>, |
---|
37 | class P = std::equal_to<T>, |
---|
38 | class A = std::allocator<T> > |
---|
39 | class unordered_multiset; |
---|
40 | template <class T, class H, class P, class A> |
---|
41 | bool operator==(unordered_multiset<T, H, P, A> const&, |
---|
42 | unordered_multiset<T, H, P, A> const&); |
---|
43 | template <class T, class H, class P, class A> |
---|
44 | bool operator!=(unordered_multiset<T, H, P, A> const&, |
---|
45 | unordered_multiset<T, H, P, A> const&); |
---|
46 | template <class T, class H, class P, class A> |
---|
47 | void swap(unordered_multiset<T, H, P, A> &m1, |
---|
48 | unordered_multiset<T, H, P, A> &m2); |
---|
49 | } |
---|
50 | |
---|
51 | #endif |
---|