From 812110be3ca06bff71e938285608c4ee76cedc16 Mon Sep 17 00:00:00 2001 From: Alfredo Correa Date: Sat, 8 Mar 2025 00:49:30 -0800 Subject: [PATCH] use complete raw_ponter_cast for sfinae --- include/boost/multi/adaptors/cufft.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/multi/adaptors/cufft.hpp b/include/boost/multi/adaptors/cufft.hpp index ca036947e..975926582 100644 --- a/include/boost/multi/adaptors/cufft.hpp +++ b/include/boost/multi/adaptors/cufft.hpp @@ -401,7 +401,7 @@ class cached_plan { } }; -template::value, int> =0, typename = decltype(raw_pointer_cast(std::declval().base()))> +template::value, int> =0, typename = decltype(::thrust::raw_pointer_cast(std::declval().base()))> auto dft(std::array which, In const& in, Out&& out, int sgn) ->decltype(cufft::cached_plan{which, in.layout(), out.layout()}.execute(in.base(), out.base(), sgn), std::forward(out)) { return cufft::cached_plan{which, in.layout(), out.layout()}.execute(in.base(), out.base(), sgn), std::forward(out); }