]>
Commit | Line | Data |
---|---|---|
1 | // { dg-do compile } | |
2 | // { dg-require-normal-mode "" } | |
3 | ||
4 | // Copyright (C) 2007-2014 Free Software Foundation, Inc. | |
5 | // | |
6 | // This file is part of the GNU ISO C++ Library. This library is free | |
7 | // software; you can redistribute it and/or modify it under the | |
8 | // terms of the GNU General Public License as published by the | |
9 | // Free Software Foundation; either version 3, or (at your option) | |
10 | // any later version. | |
11 | ||
12 | // This library is distributed in the hope that it will be useful, | |
13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | // GNU General Public License for more details. | |
16 | ||
17 | // You should have received a copy of the GNU General Public License along | |
18 | // with this library; see the file COPYING3. If not see | |
19 | // <http://www.gnu.org/licenses/>. | |
20 | ||
21 | #include <map> | |
22 | ||
23 | namespace std { | |
24 | template <class Key, class T, class Compare, class Allocator> | |
25 | class map; | |
26 | template <class Key, class T, class Compare, class Allocator> | |
27 | bool operator==(const map<Key,T,Compare,Allocator>& x, | |
28 | const map<Key,T,Compare,Allocator>& y); | |
29 | template <class Key, class T, class Compare, class Allocator> | |
30 | bool operator< (const map<Key,T,Compare,Allocator>& x, | |
31 | const map<Key,T,Compare,Allocator>& y); | |
32 | template <class Key, class T, class Compare, class Allocator> | |
33 | bool operator!=(const map<Key,T,Compare,Allocator>& x, | |
34 | const map<Key,T,Compare,Allocator>& y); | |
35 | template <class Key, class T, class Compare, class Allocator> | |
36 | bool operator> (const map<Key,T,Compare,Allocator>& x, | |
37 | const map<Key,T,Compare,Allocator>& y); | |
38 | template <class Key, class T, class Compare, class Allocator> | |
39 | bool operator>=(const map<Key,T,Compare,Allocator>& x, | |
40 | const map<Key,T,Compare,Allocator>& y); | |
41 | template <class Key, class T, class Compare, class Allocator> | |
42 | bool operator<=(const map<Key,T,Compare,Allocator>& x, | |
43 | const map<Key,T,Compare,Allocator>& y); | |
44 | template <class Key, class T, class Compare, class Allocator> | |
45 | void swap(map<Key,T,Compare,Allocator>& x, | |
46 | map<Key,T,Compare,Allocator>& y); | |
47 | ||
48 | template <class Key, class T, class Compare, class Allocator> | |
49 | class multimap; | |
50 | template <class Key, class T, class Compare, class Allocator> | |
51 | bool operator==(const multimap<Key,T,Compare,Allocator>& x, | |
52 | const multimap<Key,T,Compare,Allocator>& y); | |
53 | template <class Key, class T, class Compare, class Allocator> | |
54 | bool operator< (const multimap<Key,T,Compare,Allocator>& x, | |
55 | const multimap<Key,T,Compare,Allocator>& y); | |
56 | template <class Key, class T, class Compare, class Allocator> | |
57 | bool operator!=(const multimap<Key,T,Compare,Allocator>& x, | |
58 | const multimap<Key,T,Compare,Allocator>& y); | |
59 | template <class Key, class T, class Compare, class Allocator> | |
60 | bool operator> (const multimap<Key,T,Compare,Allocator>& x, | |
61 | const multimap<Key,T,Compare,Allocator>& y); | |
62 | template <class Key, class T, class Compare, class Allocator> | |
63 | bool operator>=(const multimap<Key,T,Compare,Allocator>& x, | |
64 | const multimap<Key,T,Compare,Allocator>& y); | |
65 | template <class Key, class T, class Compare, class Allocator> | |
66 | bool operator<=(const multimap<Key,T,Compare,Allocator>& x, | |
67 | const multimap<Key,T,Compare,Allocator>& y); | |
68 | template <class Key, class T, class Compare, class Allocator> | |
69 | void swap(multimap<Key,T,Compare,Allocator>& x, | |
70 | multimap<Key,T,Compare,Allocator>& y); | |
71 | } |