]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Copyright 2005 Daniel Wallin. | |
3 | // Copyright 2005 Joel de Guzman. | |
4 | // Copyright 2015 John Fletcher | |
5 | // | |
6 | // Use, modification and distribution is subject to the Boost Software | |
7 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
8 | // http://www.boost.org/LICENSE_1_0.txt) | |
9 | // | |
10 | // Modeled after range_ex, Copyright 2004 Eric Niebler | |
11 | /////////////////////////////////////////////////////////////////////////////// | |
12 | // | |
13 | // std_unordered_set_or_map_fwd.hpp | |
14 | // | |
15 | ///////////////////////////////////////////////////////////////////////////// | |
16 | ||
17 | #ifndef BOOST_PHOENIX_STD_UNORDERED_SET_OR_MAP_FWD | |
18 | #define BOOST_PHOENIX_STD_UNORDERED_SET_OR_MAP_FWD | |
19 | ||
20 | #include <boost/phoenix/config.hpp> | |
21 | ||
22 | #ifdef BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP | |
23 | #if defined(BOOST_PHOENIX_USING_LIBCPP) \ | |
24 | || (defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB < 540)) | |
25 | // Advance declaration not working for libc++ and MSVC 10 | |
26 | #include BOOST_PHOENIX_UNORDERED_SET_HEADER | |
27 | #include BOOST_PHOENIX_UNORDERED_MAP_HEADER | |
28 | #else | |
29 | ||
30 | ||
31 | ||
32 | namespace std { | |
33 | ||
34 | ||
35 | template< | |
36 | class Kty | |
37 | , class Hash | |
38 | , class Cmp | |
39 | , class Alloc | |
40 | > | |
41 | class unordered_set; | |
42 | ||
43 | template< | |
44 | class Kty | |
45 | , class Hash | |
46 | , class Cmp | |
47 | , class Alloc | |
48 | > | |
49 | class unordered_multiset; | |
50 | ||
51 | template< | |
52 | class Kty | |
53 | , class Ty | |
54 | , class Hash | |
55 | , class Cmp | |
56 | , class Alloc | |
57 | > | |
58 | class unordered_map; | |
59 | ||
60 | template< | |
61 | class Kty | |
62 | , class Ty | |
63 | , class Hash | |
64 | , class Cmp | |
65 | , class Alloc | |
66 | > | |
67 | class unordered_multimap; | |
68 | } | |
69 | #endif | |
70 | ||
71 | ||
72 | #endif | |
73 | ||
74 | #endif |