⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vcl_string.h

📁 InsightToolkit-1.4.0(有大量的优化算法程序)
💻 H
字号:
#ifndef vcl_vc_string_h_
#define vcl_vc_string_h_
/*
  fsm@robots.ox.ac.uk
*/

#include <string>

#define vcl_basic_string  std::basic_string
#ifndef vcl_char_traits
#define vcl_char_traits   std::char_traits
#endif

//fsm@robots: for some reason, vc60 crashes if vnl_fwd.h is used in conjunction
//with this #define. using a typedef seems to fix it.
//#define vcl_string        std::string
typedef std::string vcl_string;

#if defined(VCL_VC60)
# include <vcl_iostream.h>

inline vcl_ostream& operator<<(vcl_ostream& os, vcl_string const& s)
{
  return os << s.c_str();
}
#endif

#endif // vcl_vc_string_h_

⌨️ 快捷键说明

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