c++中提示错误complex不是类模板
#ifndef FFT_H
#define FFT_H
#include<cmath>
#include<complex.h>
#include<vector>
using namespace std;
#define Vec(a, b) std::vector<__typeof(*(a))> ((a), (a)+(b))
// allow easy change to float or long double
//#define USE_FLOAT
#define USE_DOUBLE
#ifdef USE_DOUBLE
typedef complex<double> complex_t;
typedef double real_t;
#endif
//#define DEBUG
#endif
这是源代码。错误代码被标记为红色了。
求各位大神告知解决方案