OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
ozo::time_traits Struct Reference

#include <ozo/time_traits.h>

Description

Time traits of the library.

Types

using duration = std::chrono::steady_clock::duration
 Time duration type of the library.
 
using time_point = std::chrono::steady_clock::time_point
 Time point type of the library.
 

Static Public Member Functions

static time_point now () noexcept(noexcept(std::chrono::steady_clock::now()))
 

Member Function Documentation

◆ now()

static time_point ozo::time_traits::now ( )
staticnoexcept

Get current time

Returns
time_point — current time

Referenced by ozo::deadline(), ozo::expired(), and ozo::time_left().