Searched refs:ConvertsTo (Results 1 – 5 of 5) sorted by relevance
19 struct ConvertsTo { struct49 Base&& base4 = ConvertsTo<Base&&>(); in test_rvalue_refs()50 Base&& base5 = ConvertsTo<Derived&&>(); in test_rvalue_refs()51 int && int1 = ConvertsTo<int&&>(); in test_rvalue_refs()54 Base&& base6 = ConvertsTo<Base>(); in test_rvalue_refs()55 Base&& base7 = ConvertsTo<Derived>(); in test_rvalue_refs()58 int (&&function1)(int) = ConvertsTo<int(&)(int)>(); in test_rvalue_refs()64 …int &&int2 = ConvertsTo<int&>(); // expected-error{{no viable conversion from 'ConvertsTo<int &>' … in test_rvalue_refs()65 …int &&int3 = ConvertsTo<float&>(); // expected-error{{no viable conversion from 'ConvertsTo<float … in test_rvalue_refs()86 NonCopyable &&nc8 = ConvertsTo<NonCopyable&&>(); in test_direct_binding()[all …]
16 struct ConvertsTo { struct40 void test_f1(ConvertsTo<B*> toB, ConvertsTo<C*> toC, ConvertsToBoth toBoth) { argument68 void test_f4(ConvertsTo<B*> toB, ConvertsTo<C*> toC, ConvertsToBoth toBoth) {76 void test_f5(ConvertsTo<B*> toB, ConvertsTo<C*> toC, ConvertsToBoth toBoth) {
26 struct ConvertsTo { struct65 ConvertsTo<int&> ct; in main()69 ConvertsTo<int> ct; in main()73 ConvertsTo<Derived> ct; in main()
32 struct ConvertsTo { struct51 ASSERT_NOT_REFERENCE_BINDS_TEMPORARY(int&, const ConvertsTo<int&>&); argument52 ASSERT_NOT_REFERENCE_BINDS_TEMPORARY(const int&, ConvertsTo<int&>&);84 ConvertsTo<int&> ct; in compile_tests()
67 struct ConvertsTo { struct71 void test_converts_to(ConvertsTo<int> ci, ConvertsTo<int *> cip) { in test_converts_to()