Skip to content

Commit 63d153f

Browse files
authored
Merge pull request #1592 from ericniebler/fix-stdexec-#1590
work around nvhpc bug in deducing type of auto variable template
2 parents 72a548e + e838254 commit 63d153f

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)