vcl_complex_fwd.h

来自「InsightToolkit-1.4.0(有大量的优化算法程序)」· C头文件 代码 · 共 44 行

H
44
字号
//-*- c++ -*-------------------------------------------------------------------
#ifndef vcl_complex_fwd_h_
#define vcl_complex_fwd_h_

/*
  fsm \and awf@robots.ox.ac.uk
*/

// Purpose: Forward declare the template class known
// as vcl_complex<T> without the cost of including the
// header file. Also declare the two typedefs at the
// bottom.
// *** make sure this file is consistent with vcl_complex.h ***
//
// Note: the standard complex class is just std::complex<T>, so
// on an ISO compiler, no forward declaration header is needed.

#include "vcl_compiler.h"

// ---------- emulation
#if !VCL_USE_NATIVE_COMPLEX
# include "emulation/vcl_complex_fwd.h"

// ---------- Visual Studio 6
#elif defined(VCL_VC60)
# include "win32-vc60/vcl_complex_fwd.h"

// ---------- SunPro compiler
#elif defined(VCL_SUNPRO_CC)
# include "sunpro/vcl_complex_fwd.h"

#elif defined(VCL_SGI_CC)
# include "iso/vcl_complex.h"

// ---------- ISO
#else
# include "iso/vcl_complex.h"
# ifndef vcl_complex
# define vcl_complex std::complex
# endif
#endif

#endif // vcl_complex_fwd_h_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?