/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/ |
H A D | crash61.C | 4 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 D | 1.cc | 25 template class std::pair<int, long>; member in class:std
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp1y/ |
H A D | lambda-generic-variadic.C | 4 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 D | pmf1.C | 7 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 D | value4.C | 4 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 D | pr17411-1.C | 9 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 D | Wunused-14.C | 8 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 D | 44487.cc | 25 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 D | 40925.cc | 46 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 D | synopsis.cc | 32 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 D | constexpr-ctor5.C | 17 struct pair struct 20 constexpr pair () function in struct:pair 30 pair p;
|
H A D | variadic90.C | 6 template<typename T, typename U> struct pair { }; struct 8 X<pair> x;
|
H A D | variadic10.C | 3 struct pair {}; struct 11 struct tuple<pair<int, float> > { }; 18 typedef tuple<pair<Outer, Inner>...> type; // { dg-error "mismatched argument pack lengths" }
|
H A D | variadic77.C | 4 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 D | variadic-throw.C | 4 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 D | constexpr.cc | 26 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 D | get_by_type_neg.cc | 25 std::pair<int, int> p;
|
H A D | get_neg.cc | 25 std::pair<int, int> p;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | net45.C | 4 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 D | constexpr.cc | 27 test.operator()<std::pair<int, int>>();
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/deque/requirements/dr438/ |
H A D | constructor_2_neg.cc | 28 std::deque<std::deque<std::pair<char, char> > > d('a', 'b');
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/ |
H A D | constructor_2_neg.cc | 28 std::vector<std::vector<std::pair<char, char> > > v('a', 'b');
|
/haiku-buildtools/legacy/gcc/libstdc++/stl/ |
H A D | stl_pair.h | 37 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 D | lvalue1.C | 4 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 D | isl_hmap_map_basic_set.c | 16 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...] |