OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libstdc++-v3/] [testsuite/] [23_containers/] [headers/] [set/] [synopsis.cc] - Blame information for rev 816

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 424 jeremybenn
// { dg-do compile }
2
 
3
// Copyright (C) 2007, 2009 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 3, 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 COPYING3.  If not see
18
// <http://www.gnu.org/licenses/>.
19
 
20
#include <set>
21
 
22
namespace std {
23
  template <class Key, class Compare, class Allocator>
24
    class set;
25
 
26
  template <class Key, class Compare, class Allocator>
27
    bool operator==(const set<Key,Compare,Allocator>& x,
28
                    const set<Key,Compare,Allocator>& y);
29
 
30
  template <class Key, class Compare, class Allocator>
31
    bool operator< (const set<Key,Compare,Allocator>& x,
32
                    const set<Key,Compare,Allocator>& y);
33
 
34
  template <class Key, class Compare, class Allocator>
35
    bool operator!=(const set<Key,Compare,Allocator>& x,
36
                    const set<Key,Compare,Allocator>& y);
37
 
38
  template <class Key, class Compare, class Allocator>
39
    bool operator> (const set<Key,Compare,Allocator>& x,
40
                    const set<Key,Compare,Allocator>& y);
41
 
42
  template <class Key, class Compare, class Allocator>
43
    bool operator>=(const set<Key,Compare,Allocator>& x,
44
                    const set<Key,Compare,Allocator>& y);
45
 
46
  template <class Key, class Compare, class Allocator>
47
    bool operator<=(const set<Key,Compare,Allocator>& x,
48
                    const set<Key,Compare,Allocator>& y);
49
 
50
  template <class Key, class Compare, class Allocator>
51
    void swap(set<Key,Compare,Allocator>& x,
52
              set<Key,Compare,Allocator>& y);
53
 
54
  template <class Key, class Compare, class Allocator>
55
    class multiset;
56
 
57
  template <class Key, class Compare, class Allocator>
58
    bool operator==(const multiset<Key,Compare,Allocator>& x,
59
                    const multiset<Key,Compare,Allocator>& y);
60
 
61
  template <class Key, class Compare, class Allocator>
62
    bool operator< (const multiset<Key,Compare,Allocator>& x,
63
                    const multiset<Key,Compare,Allocator>& y);
64
 
65
  template <class Key, class Compare, class Allocator>
66
    bool operator!=(const multiset<Key,Compare,Allocator>& x,
67
                    const multiset<Key,Compare,Allocator>& y);
68
 
69
  template <class Key, class Compare, class Allocator>
70
    bool operator> (const multiset<Key,Compare,Allocator>& x,
71
                    const multiset<Key,Compare,Allocator>& y);
72
 
73
  template <class Key, class Compare, class Allocator>
74
    bool operator>=(const multiset<Key,Compare,Allocator>& x,
75
                    const multiset<Key,Compare,Allocator>& y);
76
 
77
  template <class Key, class Compare, class Allocator>
78
    bool operator<=(const multiset<Key,Compare,Allocator>& x,
79
                    const multiset<Key,Compare,Allocator>& y);
80
 
81
  template <class Key, class Compare, class Allocator>
82
    void swap(multiset<Key,Compare,Allocator>& x,
83
              multiset<Key,Compare,Allocator>& y);
84
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.