From e8382544cd98a417f2c2cff7ac057abca917b738 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sun, 27 Jul 2025 15:57:18 -0700 Subject: [PATCH] work around nvhpc bug in deducing type of auto variable template --- include/stdexec/__detail/__meta.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdexec/__detail/__meta.hpp b/include/stdexec/__detail/__meta.hpp index ed36b5907..424da22e6 100644 --- a/include/stdexec/__detail/__meta.hpp +++ b/include/stdexec/__detail/__meta.hpp @@ -96,7 +96,7 @@ namespace stdexec { template requires __typename<__mtypeof<_Tp::value>> - inline constexpr auto __v<_Tp> = _Tp::value; + inline constexpr __mtypeof<_Tp::value> __v<_Tp> = _Tp::value; // These specializations exist because instantiating a variable template is cheaper than // instantiating a class template.