system_clock::now方法

返回当前时间的静态方法。

static time_point now() _NOEXCEPT;

返回值

表示当前时间的 time_point 对象。

要求

慢性的标头:

命名空间: std::chrono

请参见

参考

system_clock结构

<chrono>