/external/clang/test/Parser/ |
H A D | PR11000.cpp | 4 class tuple<> class 7 tuple(allocator_arg_t, const _Alloc&) {} function in class:tuple
|
/external/clang/test/Index/ |
H A D | usrs-cxx0x.cpp | 2 struct tuple { }; struct 4 void f(tuple<int, float, double>); 13 // CHECK: usrs-cxx0x.cpp c:@ST>1#pT@tuple Extent=[1:1 - 2:17] 14 // CHECK: usrs-cxx0x.cpp c:@F@f#$@S@tuple>#p3Ifd# Extent=[4:1 - 4:34]
|
/external/libcxx/test/std/experimental/utilities/tuple/header.tuple.synop/ |
H A D | includes.pass.cpp | 12 // <experimental/tuple> 14 #include <experimental/tuple> 18 std::tuple<int> x(1);
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
H A D | p2-0x.cpp | 10 template<typename ...> struct tuple; 18 struct same_tuple<tuple<Types1...>, tuple<Types1...> > { 22 int same_tuple_check1[same_tuple<tuple<int, float>, tuple<int, double>>::value? -1 : 1]; 23 int same_tuple_check2[same_tuple<tuple<float, double>, tuple<float, double>>::value? 1 : -1];
|
H A D | p9-0x.cpp | 3 template<typename ...Types> struct tuple; 23 struct tuple_same_with_int<tuple<Types...>, tuple<Types..., int>> { 27 int tuple_same_with_int_1[tuple_same_with_int<tuple<int, float, double>, 28 tuple<int, float, double, int> 44 typedef tuple<ElementTypes...> element_types; 47 typedef tuple<unsigned_c<Bounds>...> bounds_types; 51 tuple<int, float, double>>::value? 1 : -1]; 53 tuple<unsigned_c<1>, unsigned_c<2>, unsigned_c<3>>
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/ |
H A D | index_tuple.pass.cpp | 23 #include <tuple> 29 size_t operator()(const tuple<int,int>&) const {return 0;} argument 34 unordered_map<tuple<int,int>, size_t, my_hash> m;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
H A D | tuple_size_v.fail.cpp | 12 // <tuple> 16 // Expect failures with a reference type, pointer type, and a non-tuple type. 18 #include <tuple> 22 (void)std::tuple_size_v<std::tuple<> &>; // expected-note {{requested here}} 24 (void)std::tuple_size_v<std::tuple<>*>; // expected-note {{requested here}} 25 // expected-error@tuple:* 3 {{implicit instantiation of undefined template}}
|
H A D | tuple_size.fail.cpp | 12 // <tuple> 15 // class tuple_size<tuple<Types...>> 18 // Expect failures with a reference type, pointer type, and a non-tuple type. 20 #include <tuple> 24 (void)std::tuple_size<std::tuple<> &>::value; // expected-error {{implicit instantiation of undefined template}} 26 (void)std::tuple_size<std::tuple<>*>::value; // expected-error {{implicit instantiation of undefined template}}
|
/external/libcxx/test/libcxx/experimental/utilities/tuple/header.tuple.synop/ |
H A D | includes.pass.cpp | 11 // <experimental/tuple> 13 #include <experimental/tuple> 18 # error "<experimental/tuple> must include <tuple>"
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | const_Types2.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // explicit tuple(const T&...); 18 #include <tuple> 25 std::tuple<int, char*, std::string, double&> t(2, nullptr, "text");
|
H A D | alloc_convert_copy.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, tuple<UTypes...> const&); 19 #include <tuple> 28 std::tuple<ExplicitCopy> const_explicit_copy_test() { 29 const std::tuple<int> t1(42); 34 std::tuple<ExplicitCopy> non_const_explicit_copy_test() { 35 std::tuple<int> t1(42);
|
H A D | PR31384.pass.cpp | 13 // <tuple> 15 // template <class TupleLike> tuple(TupleLike&&); // libc++ extension 18 #include <tuple> 34 struct Derived : std::tuple<T> { 35 using std::tuple<T>::tuple; 37 operator std::tuple<U>() && { ++count; return {}; } 42 struct ExplicitDerived : std::tuple<T> { 43 using std::tuple<T>::tuple; [all...] |
H A D | dtor.pass.cpp | 12 // <tuple> 14 // template <class... Types> class tuple; 16 // ~tuple(); 18 #include <tuple> 26 std::tuple<> >::value, ""); 28 std::tuple<void*> >::value, ""); 30 std::tuple<int, float> >::value, ""); 32 std::tuple<std::string> >::value, ""); 34 std::tuple<int, std::string> >::value, "");
|
H A D | copy.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // tuple(const tuple& u) = default; 18 #include <tuple> 26 typedef std::tuple<MoveOnly> T;
|
H A D | const_Types.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // explicit tuple(const T&...); 18 #include <tuple> 27 std::tuple<ExplicitCopy> const_explicit_copy() { 34 std::tuple<ExplicitCopy> non_const_explicit_copy() { 40 std::tuple<ExplicitCopy> const_explicit_copy_no_brace() {
|
/external/libcxx/test/std/utilities/tuple/tuple.general/ |
H A D | tuple.smartptr.pass.cpp | 14 // auto_ptr doesn't have a copy constructor that takes a const &, but tuple does. 16 #include <tuple> 21 std::tuple<std::unique_ptr<char>> up; 22 std::tuple<std::shared_ptr<char>> sp; 23 std::tuple<std::weak_ptr <char>> wp; 26 std::tuple<std::unique_ptr<char[]>> up; 27 std::tuple<std::shared_ptr<char[]>> sp; 28 std::tuple<std::weak_ptr <char[]>> wp;
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/ |
H A D | diagnose_reference_binding.fail.cpp | 12 // <tuple> 19 #include <tuple> 25 // expected-error@tuple:* 4 {{static_assert failed "Attempted to construct a reference element in a tuple with an rvalue"}} 28 std::tuple<int const&> t(42); // expected-note {{requested here}} 29 std::tuple<int const&> t1(std::allocator_arg, alloc, 42); // expected-note {{requested here}} 31 std::tuple<std::string &&> t2("hello"); // expected-note {{requested here}} 32 std::tuple<std::string &&> t3(std::allocator_arg, alloc, "hello"); // expected-note {{requested here}} 37 // expected-warning@tuple:* 0+ {{binding reference member 'value' to a temporary value}} 38 // expected-error@tuple [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/ |
H A D | empty_member.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 18 #include <tuple> 27 typedef std::tuple<int, A> T; 31 typedef std::tuple<A, int> T; 35 typedef std::tuple<A, int, B> T; 39 typedef std::tuple<A, B, int> T; 43 typedef std::tuple<int, A, B> T;
|
/external/libcxx/test/std/containers/associative/map/map.access/ |
H A D | index_tuple.pass.cpp | 22 #include <tuple> 30 map<tuple<int,int>, size_t> m;
|
/external/libcxx/test/std/experimental/utilities/tuple/ |
H A D | tuple_size_v.fail.cpp | 12 // <experimental/tuple> 18 #include <experimental/tuple> 24 auto x = ex::tuple_size_v<std::tuple<> &>;
|
H A D | tuple_size_v_3.fail.cpp | 12 // <experimental/tuple> 18 #include <experimental/tuple> 24 auto x = ex::tuple_size_v<std::tuple<>*>;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
H A D | copy.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // tuple& operator=(const tuple& u); 18 #include <tuple> 26 typedef std::tuple<MoveOnly> T;
|
/external/libcxx/test/libcxx/experimental/utilities/tuple/ |
H A D | version.pass.cpp | 10 // <experimental/tuple> 12 #include <experimental/tuple>
|
/external/libcxx/test/libcxx/utilities/tuple/ |
H A D | version.pass.cpp | 10 // <tuple> 12 #include <tuple>
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
H A D | tuple_cat.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls); 18 #include <tuple> 30 std::tuple<> t = std::tuple_cat(); 34 std::tuple<> t1; 35 std::tuple<> t2 = std::tuple_cat(t1); 39 std::tuple<> t = std::tuple_cat(std::tuple<>()); 43 std::tuple<> [all...] |