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

📄 vcl_map.h

📁 InsightToolkit-1.4.0(有大量的优化算法程序)
💻 H
字号:
#ifndef vcl_sunpro_map_h_
#define vcl_sunpro_map_h_
/*
  fsm
*/

#include <map>

// this avoids the VCL_SUNPRO_ALLOCATOR_HACK

template <typename Key, typename Value, typename Comp>
struct vcl_map_sunpro_50 : std::map<Key, Value, Comp, std::allocator<std::pair<Key const, Value> > >
{
  typedef std::map<Key, Value, Comp, std::allocator<std::pair<Key const, Value> > > base;

  vcl_map_sunpro_50() : base() { }

  vcl_map_sunpro_50(base const &that) : base(that) { }
};
#undef  vcl_map
#define vcl_map      vcl_map_sunpro_50

template <typename Key, typename Value, typename Comp>
struct vcl_multimap_sunpro_50 : std::multimap<Key, Value, Comp, std::allocator<std::pair<Key const, Value> > >
{
  typedef std::multimap<Key, Value, Comp, std::allocator<std::pair<Key const, Value> > > base;

  vcl_multimap_sunpro_50() : base() { }

  vcl_multimap_sunpro_50(base const &that) : base(that) { }
};
#undef  vcl_multimap
#define vcl_multimap vcl_multimap_sunpro_50

#endif // vcl_sunpro_map_h_

⌨️ 快捷键说明

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