Skip to content

Commit e838254

Browse files
committed
work around nvhpc bug in deducing type of auto variable template
1 parent a86164b commit e838254

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
@@ -96,7 +96,7 @@ namespace stdexec {
9696

9797
template <class _Tp>
9898
requires __typename<__mtypeof<_Tp::value>>
99-
inline constexpr auto __v<_Tp> = _Tp::value;
99+
inline constexpr __mtypeof<_Tp::value> __v<_Tp> = _Tp::value;
100100

101101
// These specializations exist because instantiating a variable template is cheaper than
102102
// instantiating a class template.

0 commit comments

Comments
 (0)