Skip to content

Commit 34535b0

Browse files
Attempt to remove workaround for VSO-1761088 "ICE when using a pack expansion to repeat a type N times".
1 parent ad08607 commit 34535b0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stl/inc/ranges

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8762,11 +8762,7 @@ namespace ranges {
87628762

87638763
template <class _Fn, class _Ty, size_t... _Indices>
87648764
struct _Invoke_result_with_repeated_type_impl<_Fn, _Ty, index_sequence<_Indices...>> {
8765-
#if defined(__clang__) || defined(__EDG__) // TRANSITION, VSO-1761088
87668765
using type = invoke_result_t<_Fn, _Repeat_type<_Ty, _Indices>...>;
8767-
#else // ^^^ no workaround / workaround vvv
8768-
using type = decltype(_STD invoke(_STD declval<_Fn>(), _STD declval<_Repeat_type<_Ty, _Indices>>()...));
8769-
#endif // ^^^ workaround ^^^
87708766
};
87718767

87728768
template <class _Fn, class _Ty, size_t _Nx>

0 commit comments

Comments
 (0)