Avoid leading underscore followed by cap in template identifiers

This commit is contained in:
Alexander Karatarakis
2021-08-04 22:41:52 +00:00
committed by Rasmus Munk Larsen
parent 5ad8b9bfe2
commit 4ba872bd75
129 changed files with 1481 additions and 1480 deletions

View File

@@ -173,10 +173,10 @@ namespace internal {
}
};
template <typename _Scalar>
template <typename Scalar_>
struct fftw_impl
{
typedef _Scalar Scalar;
typedef Scalar_ Scalar;
typedef std::complex<Scalar> Complex;
inline

View File

@@ -14,10 +14,10 @@ namespace internal {
// This FFT implementation was derived from kissfft http:sourceforge.net/projects/kissfft
// Copyright 2003-2009 Mark Borgerding
template <typename _Scalar>
template <typename Scalar_>
struct kiss_cpx_fft
{
typedef _Scalar Scalar;
typedef Scalar_ Scalar;
typedef std::complex<Scalar> Complex;
std::vector<Complex> m_twiddles;
std::vector<int> m_stageRadix;
@@ -90,9 +90,9 @@ struct kiss_cpx_fft
}while(n>1);
}
template <typename _Src>
template <typename Src_>
inline
void work( int stage,Complex * xout, const _Src * xin, size_t fstride,size_t in_stride)
void work( int stage,Complex * xout, const Src_ * xin, size_t fstride,size_t in_stride)
{
int p = m_stageRadix[stage];
int m = m_stageRemainder[stage];
@@ -292,10 +292,10 @@ struct kiss_cpx_fft
}
};
template <typename _Scalar>
template <typename Scalar_>
struct kissfft_impl
{
typedef _Scalar Scalar;
typedef Scalar_ Scalar;
typedef std::complex<Scalar> Complex;
void clear()