Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::timestamp_t Struct Reference

时间戳生成器。 More...

#include <gextra.h>

Public Member Functions

long long operator() () const
 获取当前时间的 Unix 时间戳。

Detailed Description

时间戳生成器。

生成当前时间的 Unix 时间戳(秒)。

Member Function Documentation

◆ operator()()

long long console::ops::timestamp_t::operator() ( ) const
inline

获取当前时间的 Unix 时间戳。

Returns
当前时间的秒级时间戳。

The documentation for this struct was generated from the following file: