]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/23_containers/headers/map/synopsis.cc
29160ba45ec15bdd36d0663b242718fadf80b5a8
3 // Copyright (C) 2007, 2009 Free Software Foundation, Inc.
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 3, or (at your option)
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.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
23 template <class Key
, class T
, class Compare
, class Allocator
>
25 template <class Key
, class T
, class Compare
, class Allocator
>
26 bool operator==(const map
<Key
,T
,Compare
,Allocator
>& x
,
27 const map
<Key
,T
,Compare
,Allocator
>& y
);
28 template <class Key
, class T
, class Compare
, class Allocator
>
29 bool operator< (const map
<Key
,T
,Compare
,Allocator
>& x
,
30 const map
<Key
,T
,Compare
,Allocator
>& y
);
31 template <class Key
, class T
, class Compare
, class Allocator
>
32 bool operator!=(const map
<Key
,T
,Compare
,Allocator
>& x
,
33 const map
<Key
,T
,Compare
,Allocator
>& y
);
34 template <class Key
, class T
, class Compare
, class Allocator
>
35 bool operator> (const map
<Key
,T
,Compare
,Allocator
>& x
,
36 const map
<Key
,T
,Compare
,Allocator
>& y
);
37 template <class Key
, class T
, class Compare
, class Allocator
>
38 bool operator>=(const map
<Key
,T
,Compare
,Allocator
>& x
,
39 const map
<Key
,T
,Compare
,Allocator
>& y
);
40 template <class Key
, class T
, class Compare
, class Allocator
>
41 bool operator<=(const map
<Key
,T
,Compare
,Allocator
>& x
,
42 const map
<Key
,T
,Compare
,Allocator
>& y
);
43 template <class Key
, class T
, class Compare
, class Allocator
>
44 void swap(map
<Key
,T
,Compare
,Allocator
>& x
,
45 map
<Key
,T
,Compare
,Allocator
>& y
);
47 template <class Key
, class T
, class Compare
, class Allocator
>
49 template <class Key
, class T
, class Compare
, class Allocator
>
50 bool operator==(const multimap
<Key
,T
,Compare
,Allocator
>& x
,
51 const multimap
<Key
,T
,Compare
,Allocator
>& y
);
52 template <class Key
, class T
, class Compare
, class Allocator
>
53 bool operator< (const multimap
<Key
,T
,Compare
,Allocator
>& x
,
54 const multimap
<Key
,T
,Compare
,Allocator
>& y
);
55 template <class Key
, class T
, class Compare
, class Allocator
>
56 bool operator!=(const multimap
<Key
,T
,Compare
,Allocator
>& x
,
57 const multimap
<Key
,T
,Compare
,Allocator
>& y
);
58 template <class Key
, class T
, class Compare
, class Allocator
>
59 bool operator> (const multimap
<Key
,T
,Compare
,Allocator
>& x
,
60 const multimap
<Key
,T
,Compare
,Allocator
>& y
);
61 template <class Key
, class T
, class Compare
, class Allocator
>
62 bool operator>=(const multimap
<Key
,T
,Compare
,Allocator
>& x
,
63 const multimap
<Key
,T
,Compare
,Allocator
>& y
);
64 template <class Key
, class T
, class Compare
, class Allocator
>
65 bool operator<=(const multimap
<Key
,T
,Compare
,Allocator
>& x
,
66 const multimap
<Key
,T
,Compare
,Allocator
>& y
);
67 template <class Key
, class T
, class Compare
, class Allocator
>
68 void swap(multimap
<Key
,T
,Compare
,Allocator
>& x
,
69 multimap
<Key
,T
,Compare
,Allocator
>& y
);