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

📄 vcl_algorithm.txx

📁 InsightToolkit-1.4.0(有大量的优化算法程序)
💻 TXX
字号:
#ifndef vcl_egcs_algorithm_txx_
#define vcl_egcs_algorithm_txx_

#include <vcl_algorithm.h>

#define VCL_COPY_INSTANTIATE(Inp, Out) \
template Out std::copy(Inp, Inp, Out)

#define VCL_COPY_BACKWARD_INSTANTIATE(I, O)

#define VCL_SWAP_INSTANTIATE(T) \
VCL_INSTANTIATE_INLINE(void swap(T&, T&))

#define VCL_OPERATOR_NE_INSTANTIATE(T)

#define VCL_CONTAINABLE_INSTANTIATE(T)

#define VCL_LESS_INSTANTIATE(T) \
template struct less<T >

#define VCL_FIND_INSTANTIATE(I, T) \
template I std::find(I, I, T const&)

#define VCL_SORT_INSTANTIATE(I, T) \
template void __final_insertion_sort(I, I); \
template void __introsort_loop(I, I, I, int)
#define VCL_SORT_INSTANTIATE_CMP(I, T, C) \
/* fix it if you need it */

#define VCL_FIND_IF_INSTANTIATE(I, P) \
template I find_if(I, I, P)

#endif // vcl_egcs_algorithm_txx_

⌨️ 快捷键说明

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