From ce147890464cef5bba75bc78d780850d365fba45 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Tue, 9 Jan 2024 15:52:37 -0600 Subject: [PATCH] Working around CUDA issue --- libs/core/properties/include/hpx/properties/property.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/core/properties/include/hpx/properties/property.hpp b/libs/core/properties/include/hpx/properties/property.hpp index e47690aa08ae..5b02303d3261 100644 --- a/libs/core/properties/include/hpx/properties/property.hpp +++ b/libs/core/properties/include/hpx/properties/property.hpp @@ -1,4 +1,5 @@ // Copyright (c) 2020 ETH Zurich +// Copyright (c) 2023-2024 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying @@ -22,7 +23,9 @@ namespace hpx::experimental { template friend constexpr HPX_FORCEINLINE auto tag_fallback_invoke( prefer_t, Tag tag, Tn&&... tn) - noexcept(noexcept(tag(HPX_FORWARD(Tn, tn)...))) +#if !defined(HPX_CUDA_VERSION) + noexcept(hpx::functional::is_nothrow_tag_invocable_v) +#endif -> decltype(tag(HPX_FORWARD(Tn, tn)...)) // clang-format on {