chxavminmax.h
来自「symbian 下的helix player源代码」· C头文件 代码 · 共 31 行
H
31 行
/*============================================================================*
*
* (c) 1995-2002 RealNetworks, Inc. Patents pending. All rights reserved.
*
*============================================================================*/
#ifndef minmax_h
#define minmax_h
#ifdef min
#undef min
#endif
template<class T>
inline const T& min(const T& a, const T& b)
{
return a < b ? a : b;
}
#ifdef max
#undef max
#endif
template<class T>
inline const T& max(const T& a, const T& b)
{
return a > b ? a : b;
}
#endif /* minmax_h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?