MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
static_sign< Numerator > 模板结构体 参考

计算整数的符号 更多...

#include <static_numeric.hpp>

详细描述

template<intmax_t Numerator>
struct static_sign< Numerator >

计算整数的符号

模板参数
Numerator分子值

返回整数的符号:负数返回-1,非负数返回1。

在文件 static_numeric.hpp31 行定义.


该结构体的文档由以下文件生成: