📄 algorithm.h
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================
#ifndef __BASIC_ALGORITHM_H__
#define __BASIC_ALGORITHM_H__
#include <copyright.h>
#if 1
#include <kernel/system/stl/algorithm>
#include <kernel/system/stl/numeric>
#else
#include <algorithm>
#include <functional>
#include <numeric>
#if defined(min)
#undef min
namespace std {
template <class T>
inline const T &min(const T &a, const T &b) {
return a < b ? a : b;
}
}
#endif
#if defined(max)
#undef max
namespace std {
template <class T>
inline const T &max(const T &a, const T &b) {
return b < a ? a : b;
}
}
#endif
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -