Skip to content

Commit 7b1e270

Browse files
Remove workaround for DevCom-10112408 VSO-1588505 "Implicit conversion to function parameter of a non-movable type is still broken", closed as fixed on 2023-11-06.
1 parent 35af734 commit 7b1e270

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/std/tests/P0088R3_variant/test.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -7674,10 +7674,8 @@ namespace msvc {
76747674
};
76757675

76767676
using VarTestConv = std::variant<convertible_to_immobile_one, convertible_to_immobile_other>;
7677-
#if defined(__clang__) || defined(__EDG__) // TRANSITION, DevCom-10112408
76787677
assert(std::visit<R>(std::identity{}, VarTestConv{convertible_to_immobile_one{}}).x == 1729);
76797678
assert(std::visit<R>(std::identity{}, VarTestConv{convertible_to_immobile_other{}}).x == 1138);
7680-
#endif // TRANSITION, DevCom-10112408
76817679
auto immobile_converter = [](auto src) -> immobile_data { return src; };
76827680
assert(std::visit<R>(immobile_converter, VarTestConv{convertible_to_immobile_one{}}).x == 1729);
76837681
assert(std::visit<R>(immobile_converter, VarTestConv{convertible_to_immobile_other{}}).x == 1138);

0 commit comments

Comments
 (0)