]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/23_containers/headers/queue/synopsis.cc
80dcf939f70f332770417fbca51572cacaa57845
2 // { dg-require-normal-namespace "" }
4 // Copyright (C) 2007-2024 Free Software Foundation, Inc.
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)
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.
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/>.
23 #if __cplusplus >= 201103L
24 # define NOTHROW noexcept
30 template <class T
, class Container
> class queue
;
31 template <class T
, class Container
>
32 bool operator==(const queue
<T
, Container
>& x
,
33 const queue
<T
, Container
>& y
);
35 template <class T
, class Container
>
36 bool operator< (const queue
<T
, Container
>& x
,
37 const queue
<T
, Container
>& y
);
39 template <class T
, class Container
>
40 bool operator!=(const queue
<T
, Container
>& x
,
41 const queue
<T
, Container
>& y
);
43 template <class T
, class Container
>
44 bool operator> (const queue
<T
, Container
>& x
,
45 const queue
<T
, Container
>& y
);
47 template <class T
, class Container
>
48 bool operator>=(const queue
<T
, Container
>& x
,
49 const queue
<T
, Container
>& y
);
51 template <class T
, class Container
>
52 bool operator<=(const queue
<T
, Container
>& x
,
53 const queue
<T
, Container
>& y
);
55 template <class T
, class Container
, class Compare
>