pffft icon indicating copy to clipboard operation
pffft copied to clipboard

clang-cl (windows) confused by std::complex

Open abique opened this issue 1 year ago • 0 comments

Hi,

clang-cl (windows) is confused by std::complex<> you need to add the :: in front to fix that issue:

@@ -492,8 +492,8 @@
 template<>
-class Setup< std::complex<float> >
+class Setup< ::std::complex<float> >
 {
   PFFFT_Setup* self;
 
 public:
@@ -496,8 +496,8 @@
 {
   PFFFT_Setup* self;
 
 public:
-  typedef std::complex<float> value_type;
+  typedef ::std::complex<float> value_type;
   typedef Types< value_type >::Scalar Scalar;
 
   Setup()

abique avatar Feb 15 '23 18:02 abique