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/] [vector/] [synopsis.cc] - Blame information for rev 826

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 <vector>
21
 
22
namespace std {
23
  template <class T, class Allocator> class vector;
24
 
25
  template <class T, class Allocator>
26
    bool operator==(const vector<T,Allocator>& x,
27
                    const vector<T,Allocator>& y);
28
 
29
  template <class T, class Allocator>
30
    bool operator< (const vector<T,Allocator>& x,
31
                    const vector<T,Allocator>& y);
32
 
33
  template <class T, class Allocator>
34
    bool operator!=(const vector<T,Allocator>& x,
35
                    const vector<T,Allocator>& y);
36
 
37
  template <class T, class Allocator>
38
    bool operator> (const vector<T,Allocator>& x,
39
                    const vector<T,Allocator>& y);
40
 
41
  template <class T, class Allocator>
42
    bool operator>=(const vector<T,Allocator>& x,
43
                    const vector<T,Allocator>& y);
44
 
45
  template <class T, class Allocator>
46
    bool operator<=(const vector<T,Allocator>& x,
47
                    const vector<T,Allocator>& y);
48
 
49
  template <class T, class Allocator>
50
    void swap(vector<T,Allocator>& x, vector<T,Allocator>& y);
51
 
52
  template <class Allocator> class vector<bool,Allocator>;
53
 
54
  template <class Allocator>
55
    bool operator==(const vector<bool,Allocator>& x,
56
                    const vector<bool,Allocator>& y);
57
 
58
  template <class Allocator>
59
    bool operator< (const vector<bool,Allocator>& x,
60
                    const vector<bool,Allocator>& y);
61
 
62
  template <class Allocator>
63
    bool operator!=(const vector<bool,Allocator>& x,
64
                    const vector<bool,Allocator>& y);
65
 
66
  template <class Allocator>
67
    bool operator> (const vector<bool,Allocator>& x,
68
                    const vector<bool,Allocator>& y);
69
 
70
  template <class Allocator>
71
    bool operator>=(const vector<bool,Allocator>& x,
72
                    const vector<bool,Allocator>& y);
73
 
74
  template <class Allocator>
75
    bool operator<=(const vector<bool,Allocator>& x,
76
                    const vector<bool,Allocator>& y);
77
 
78
  template <class Allocator>
79
    void swap(vector<bool,Allocator>& x, vector<bool,Allocator>& y);
80
}

powered by: WebSVN 2.1.0

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