Searched refs:pair (Results 1 - 25 of 512) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/
H A Dcrash61.C4 struct pair { constexpr pair (const) : }; // { dg-error "" } struct
6 pair prefix[] = { 0, make_pair } // { dg-error "" }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/requirements/explicit_instantiation/
H A D1.cc25 template class std::pair<int, long>; member in class:std
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp1y/
H A Dlambda-generic-variadic.C4 template <typename T, typename U> struct pair {}; struct
9 auto a = [] (auto, pair<auto,auto> v) { return sizeof (v); };
10 auto b = [] (auto, pair<pair<auto,auto>,auto>... v) { return sizeof... (v); };
12 a(1, pair<int, float>());
13 b(2, pair<pair<short,char>, double>(), pair<pair<float,long>, int>());
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dpmf1.C7 struct pair { struct
8 typedef void (pair::*fp)();
10 pair::fp second;
11 pair(const int& a, const pair::fp& b) : first(a), second(b) {} function in struct:pair
12 void f(const int& a, const pair::fp& b) { first = a; second = b; }
16 pair(5, pair::fp());
H A Dvalue4.C4 struct pair struct
10 // 265. std::pair::pair() effects overly restrictive
13 pair() function in struct:pair
31 typedef pair<const b, int> my_pair;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dpr17411-1.C9 struct pair struct
12 pair(const CalibData& __b) : second(__b) { } function in struct:pair
15 void insert(const pair& __x);
19 insert(pair(CalibData()));
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A DWunused-14.C8 using std::pair;
11 pair<int, const char*> components[3]; // { dg-bogus "value computed is not used" }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/
H A D44487.cc25 std::pair<int&, int&>
28 std::pair<int&, int&> blah(x, y);
32 std::pair<int&, int&>
35 const std::pair<int&, int&> blah(x, y);
39 std::pair<int&, int&>
42 std::pair<int&, int&> blah(x, y);
43 return std::pair<int&, int&>(std::move(blah));
46 std::pair<int&, int&>
49 const std::pair<int&, int&> blah(x, y);
50 return std::pair<in
[all...]
H A D40925.cc46 std::pair<int*, int*> p1(0, 0);
47 std::pair<int*, int*> p2(ip, 0);
48 std::pair<int*, int*> p3(0, ip);
49 std::pair<int*, int*> p4(ip, ip);
51 std::pair<int X::*, int*> p5(0, 0);
52 std::pair<int X::*, int X::*> p6(mp, 0);
53 std::pair<int X::*, int X::*> p7(0, mp);
54 std::pair<int X::*, int X::*> p8(mp, mp);
56 std::pair<int*, move_only> p9(0, move_only());
57 std::pair<in
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/headers/utility/
H A Dsynopsis.cc32 template <class T1, class T2> struct pair;
34 _GLIBCXX_CONSTEXPR bool operator==(const pair<T1,T2>&, const pair<T1,T2>&);
36 _GLIBCXX_CONSTEXPR bool operator< (const pair<T1,T2>&, const pair<T1,T2>&);
38 _GLIBCXX_CONSTEXPR bool operator!=(const pair<T1,T2>&, const pair<T1,T2>&);
40 _GLIBCXX_CONSTEXPR bool operator> (const pair<T1,T2>&, const pair<T1,T2>&);
42 _GLIBCXX_CONSTEXPR bool operator>=(const pair<T
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dconstexpr-ctor5.C17 struct pair struct
20 constexpr pair () function in struct:pair
30 pair p;
H A Dvariadic90.C6 template<typename T, typename U> struct pair { }; struct
8 X<pair> x;
H A Dvariadic10.C3 struct pair {}; struct
11 struct tuple<pair<int, float> > { };
18 typedef tuple<pair<Outer, Inner>...> type; // { dg-error "mismatched argument pack lengths" }
H A Dvariadic77.C4 template<int M, int N> struct pair struct
7 pair () : i (M), j (N) {} function in struct:pair
14 return sizeof... (pair<M, N>); // { dg-error "" }
H A Dvariadic-throw.C4 template<int M, int N> struct pair struct
7 pair() : i(M), j(N) {} function in struct:pair
12 template<int... N> static int foo() throw (pair <M, N>...) // { dg-error "mismatched" }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/minmax/
H A Dconstexpr.cc26 std::pair<const int&, const int&>(1, 2), "");
28 std::pair<const int&, const int&>(2, 1), "");
30 std::pair<int, int>(1, 2), "");
32 std::pair<int, int>(2, 1), "");
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/astuple/
H A Dget_by_type_neg.cc25 std::pair<int, int> p;
H A Dget_neg.cc25 std::pair<int, int> p;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dnet45.C4 struct pair { struct
7 pair(const T1& a, const T2& b) : first(a), second(b) {} function in struct:pair
18 extern pair<const myint, myint> a;
19 pair<const myint, myint> b(a);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/comparison_operators/
H A Dconstexpr.cc27 test.operator()<std::pair<int, int>>();
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/deque/requirements/dr438/
H A Dconstructor_2_neg.cc28 std::deque<std::deque<std::pair<char, char> > > d('a', 'b');
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/
H A Dconstructor_2_neg.cc28 std::vector<std::vector<std::pair<char, char> > > v('a', 'b');
/haiku-buildtools/legacy/gcc/libstdc++/stl/
H A Dstl_pair.h37 struct pair { struct
43 pair() : first(_T1()), second(_T2()) {} function in struct:pair
44 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:pair
48 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument
53 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
59 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
66 inline pair<_T
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Dlvalue1.C4 struct pair struct
10 pair () : first(), second() { } function in struct:pair
11 pair(const _T1& __a, const _T2& __b) function in struct:pair
16 inline pair<_T1, _T2>
19 return pair<_T1, _T2>(__x, __y);
25 pair<bar<dim> *, unsigned int>
28 const pair<int,unsigned int> tmp;
/haiku-buildtools/isl/
H A Disl_hmap_map_basic_set.c16 struct isl_map_basic_set_pair *pair = *entry; local
17 isl_map_free(pair->key);
18 isl_basic_set_free(pair->val);
19 free(pair);
35 const struct isl_map_basic_set_pair *pair = entry; local
38 return isl_map_plain_is_equal(pair->key, map);
54 struct isl_map_basic_set_pair *pair; local
64 pair = entry->data;
66 return isl_basic_set_copy(pair->val);
74 struct isl_map_basic_set_pair *pair; local
[all...]

Completed in 172 milliseconds

1234567891011>>