CCF
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ccf::nonstd::SystemClock Struct Reference

#include <nonstd.h>

Public Types

using duration = std::chrono::seconds
 
using rep = duration::rep
 
using period = duration::period
 
using time_point = std::chrono::time_point< SystemClock >
 

Static Public Member Functions

static time_point now () noexcept
 
static std::time_t to_time_t (const time_point &t) noexcept
 
static time_point from_time_t (std::time_t t) noexcept
 

Static Public Attributes

static constexpr bool is_steady = false
 

Member Typedef Documentation

◆ duration

using ccf::nonstd::SystemClock::duration = std::chrono::seconds

◆ period

using ccf::nonstd::SystemClock::period = duration::period

◆ rep

using ccf::nonstd::SystemClock::rep = duration::rep

◆ time_point

using ccf::nonstd::SystemClock::time_point = std::chrono::time_point<SystemClock>

Member Function Documentation

◆ from_time_t()

static time_point ccf::nonstd::SystemClock::from_time_t ( std::time_t  t)
inlinestaticnoexcept

◆ now()

static time_point ccf::nonstd::SystemClock::now ( )
inlinestaticnoexcept

◆ to_time_t()

static std::time_t ccf::nonstd::SystemClock::to_time_t ( const time_point t)
inlinestaticnoexcept

Member Data Documentation

◆ is_steady

constexpr bool ccf::nonstd::SystemClock::is_steady = false
staticconstexpr

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