xentara-utils v1.0
Xentara utilities library
xentara::utils::chrono Namespace Reference

std::chrono compatibility More...

Typedefs

template<typename Duration >
using sys_time = std::chrono::time_point< std::chrono::system_clock, Duration >
 
using sys_seconds = sys_time< std::chrono::seconds >
 
using sys_days = sys_time< std::chrono::days >
 

Detailed Description

std::chrono compatibility

Contains compatibility type aliases for std::chrono types that are not available in libstdc++-10.

Typedef Documentation

◆ sys_days

using xentara::utils::chrono::sys_days = typedef sys_time<std::chrono::days>

◆ sys_seconds

◆ sys_time

template<typename Duration >
using xentara::utils::chrono::sys_time = typedef std::chrono::time_point<std::chrono::system_clock, Duration>