Skip to content

Commit 2c1bcd6

Browse files
authored
try some stuff to see if msvc likes it
1 parent 6a39355 commit 2c1bcd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/stdexec/__detail/__meta.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace stdexec {
123123

124124
// `decltype(_Np)` instead of `auto` to work around NVHPC/EDG bug.
125125
template <auto _Np>
126-
inline constexpr decltype(_Np) __v<__mconstant<_Np>> = _Np;
126+
inline constexpr __mtypeof<_Np> __v<__mconstant<_Np>> = _Np;
127127

128128
template <std::size_t _Np>
129129
inline constexpr std::size_t __v<__u8 (*)[_Np]> = _Np - 1; // see definition of __msize_t

0 commit comments

Comments
 (0)