|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
用户定义字面量支持 更多...
函数 | |
| constexpr duration< decimal_t, ratio< 3600, 1 > > | operator""_h (const decimal_t hours) noexcept |
| 小时字面量(浮点版本) | |
| template<char... Digits> | |
| constexpr hours | operator""_h () noexcept |
| 小时字面量(整型版本) | |
| constexpr duration< decimal_t, ratio< 60, 1 > > | operator""_min (const decimal_t mins) noexcept |
| 分钟字面量(浮点版本) | |
| template<char... Digits> | |
| constexpr minutes | operator""_min () noexcept |
| 分钟字面量(整型版本) | |
| constexpr duration< decimal_t > | operator""_s (const decimal_t secs) noexcept |
| 秒字面量(浮点版本) | |
| template<char... Digits> | |
| constexpr seconds | operator""_s () noexcept |
| 秒字面量(整型版本) | |
| constexpr duration< decimal_t, milli > | operator""_ms (const decimal_t msecs) noexcept |
| 毫秒字面量(浮点版本) | |
| template<char... Digits> | |
| constexpr milliseconds | operator""_ms () noexcept |
| 毫秒字面量(整型版本) | |
| constexpr duration< decimal_t, micro > | operator""_us (const decimal_t usecs) noexcept |
| 微秒字面量(浮点版本) | |
| template<char... Digits> | |
| constexpr microseconds | operator""_us () noexcept |
| 微秒字面量(整型版本) | |
| constexpr duration< decimal_t, nano > | operator""_ns (const decimal_t nsecs) noexcept |
| 纳秒字面量(浮点版本) | |
| template<char... Digits> | |
| constexpr nanoseconds | operator""_ns () noexcept |
| 纳秒字面量(整型版本) | |
用户定义字面量支持
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |