Lines Matching defs:v3

80     V v1(42l), v2("hello"), v3(101), v4(1.1);
81 std::visit(obj, v1, v2, v3, v4);
83 std::visit(cobj, v1, v2, v3, v4);
85 std::visit(std::move(obj), v1, v2, v3, v4);
87 std::visit(std::move(cobj), v1, v2, v3, v4);
92 V v1(42l), v2("hello"), v3(nullptr), v4(1.1);
93 std::visit(obj, v1, v2, v3, v4);
95 std::visit(cobj, v1, v2, v3, v4);
97 std::visit(std::move(obj), v1, v2, v3, v4);
99 std::visit(std::move(cobj), v1, v2, v3, v4);
123 V v1(42), v2("hello"), v3(43l);
124 std::visit(obj, v1, v2, v3);
126 std::visit(obj, std::as_const(v1), std::as_const(v2), std::move(v3));
131 V v1(42l), v2("hello"), v3(101), v4(1.1);
132 std::visit(obj, v1, v2, v3, v4);
134 std::visit(obj, std::as_const(v1), std::as_const(v2), std::move(v3), std::move(v4));
139 V v1(42l), v2("hello"), v3(nullptr), v4(1.1);
140 std::visit(obj, v1, v2, v3, v4);
142 std::visit(obj, std::as_const(v1), std::as_const(v2), std::move(v3), std::move(v4));
185 V v1(42l), v2("hello"), v3(101), v4(1.1);
186 static_assert(std::is_same_v<decltype(std::visit(obj, v1, v2, v3, v4)), Fn&>);
187 static_assert(std::is_same_v<decltype(std::visit(cobj, v1, v2, v3, v4)), const Fn&>);
188 static_assert(std::is_same_v<decltype(std::visit(std::move(obj), v1, v2, v3, v4)), Fn&&>);
189 static_assert(std::is_same_v<decltype(std::visit(std::move(cobj), v1, v2, v3, v4)), const Fn&&>);
193 V v1(42l), v2("hello"), v3(nullptr), v4(1.1);
194 static_assert(std::is_same_v<decltype(std::visit(obj, v1, v2, v3, v4)), Fn&>);
195 static_assert(std::is_same_v<decltype(std::visit(cobj, v1, v2, v3, v4)), const Fn&>);
196 static_assert(std::is_same_v<decltype(std::visit(std::move(obj), v1, v2, v3, v4)), Fn&&>);
197 static_assert(std::is_same_v<decltype(std::visit(std::move(cobj), v1, v2, v3, v4)), const Fn&&>);
220 constexpr V3 v3;
221 static_assert(std::visit(aobj, v1, v2, v3) == 3, "");
229 constexpr V3 v3;
230 static_assert(std::visit(aobj, v1, v2, v3) == 3, "");
234 constexpr V v1(42l), v2(101), v3(nullptr), v4(1.1);
235 static_assert(std::visit(aobj, v1, v2, v3, v4) == 4, "");
239 constexpr V v1(42l), v2(101), v3(nullptr), v4(1.1);
240 static_assert(std::visit(aobj, v1, v2, v3, v4) == 4, "");
289 V v1(42l), v2(101), v3(202), v4(1.1);
291 assert(test(v1, v2, v3, v4));
295 V v1(42l), v2(101), v3(202), v4(1.1);
298 makeEmpty(v3);
300 assert(test(v1, v2, v3, v4));