📄 vcl_algorithm.h
字号:
#ifndef vcl_algorithm_h_
#define vcl_algorithm_h_
#include "vcl_compiler.h"
#if !VCL_USE_NATIVE_STL
# include "emulation/vcl_algorithm.h"
// -------------------- iso
#else
# include "iso/vcl_algorithm.h"
#endif
#ifdef VCL_VC
# undef vcl_max
# define vcl_max vcl_max
# undef vcl_min
# define vcl_min vcl_min
template <typename T>
inline T vcl_max(T const& a, T const& b)
{
return (a > b) ? a : b;
}
template <typename T>
inline T vcl_min(T const& a, T const& b)
{
return (a < b) ? a : b;
}
#endif
#if VCL_USE_IMPLICIT_TEMPLATES
# include "vcl_algorithm.txx"
#endif
#endif // vcl_algorithm_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -