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