ndn::literals::time_literals Namespace Reference

Functions

constexpr time::duration< long double, time::days::period > operator""_day (long double days)
 
constexpr time::days operator""_day (unsigned long long days)
 
constexpr time::duration< long double, time::days::period > operator""_days (long double days)
 
constexpr time::days operator""_days (unsigned long long days)
 
constexpr time::duration< long double, time::hours::period > operator""_h (long double hrs)
 
constexpr time::hours operator""_h (unsigned long long hrs)
 
constexpr time::duration< long double, time::minutes::period > operator""_min (long double mins)
 
constexpr time::minutes operator""_min (unsigned long long mins)
 
constexpr time::duration< long double, time::milliseconds::period > operator""_ms (long double msecs)
 
constexpr time::milliseconds operator""_ms (unsigned long long msecs)
 
constexpr time::duration< long double, time::nanoseconds::period > operator""_ns (long double nsecs)
 
constexpr time::nanoseconds operator""_ns (unsigned long long nsecs)
 
constexpr time::duration< long double, time::seconds::period > operator""_s (long double secs)
 
constexpr time::seconds operator""_s (unsigned long long secs)
 
constexpr time::duration< long double, time::microseconds::period > operator""_us (long double usecs)
 
constexpr time::microseconds operator""_us (unsigned long long usecs)
 

Function Documentation

◆ operator""_day() [1/2]

constexpr time::duration<long double, time::days::period> ndn::literals::time_literals::operator""_day ( long double  days)
constexpr

Definition at line 80 of file time.hpp.

◆ operator""_day() [2/2]

constexpr time::days ndn::literals::time_literals::operator""_day ( unsigned long long  days)
constexpr

Definition at line 74 of file time.hpp.

◆ operator""_days() [1/2]

constexpr time::duration<long double, time::days::period> ndn::literals::time_literals::operator""_days ( long double  days)
constexpr

Definition at line 92 of file time.hpp.

◆ operator""_days() [2/2]

constexpr time::days ndn::literals::time_literals::operator""_days ( unsigned long long  days)
constexpr

Definition at line 86 of file time.hpp.

◆ operator""_h() [1/2]

constexpr time::duration<long double, time::hours::period> ndn::literals::time_literals::operator""_h ( long double  hrs)
constexpr

Definition at line 104 of file time.hpp.

◆ operator""_h() [2/2]

constexpr time::hours ndn::literals::time_literals::operator""_h ( unsigned long long  hrs)
constexpr

Definition at line 98 of file time.hpp.

◆ operator""_min() [1/2]

constexpr time::duration<long double, time::minutes::period> ndn::literals::time_literals::operator""_min ( long double  mins)
constexpr

Definition at line 116 of file time.hpp.

◆ operator""_min() [2/2]

constexpr time::minutes ndn::literals::time_literals::operator""_min ( unsigned long long  mins)
constexpr

Definition at line 110 of file time.hpp.

◆ operator""_ms() [1/2]

constexpr time::duration<long double, time::milliseconds::period> ndn::literals::time_literals::operator""_ms ( long double  msecs)
constexpr

Definition at line 140 of file time.hpp.

◆ operator""_ms() [2/2]

constexpr time::milliseconds ndn::literals::time_literals::operator""_ms ( unsigned long long  msecs)
constexpr

Definition at line 134 of file time.hpp.

◆ operator""_ns() [1/2]

constexpr time::duration<long double, time::nanoseconds::period> ndn::literals::time_literals::operator""_ns ( long double  nsecs)
constexpr

Definition at line 164 of file time.hpp.

◆ operator""_ns() [2/2]

constexpr time::nanoseconds ndn::literals::time_literals::operator""_ns ( unsigned long long  nsecs)
constexpr

Definition at line 158 of file time.hpp.

◆ operator""_s() [1/2]

constexpr time::duration<long double, time::seconds::period> ndn::literals::time_literals::operator""_s ( long double  secs)
constexpr

Definition at line 128 of file time.hpp.

◆ operator""_s() [2/2]

constexpr time::seconds ndn::literals::time_literals::operator""_s ( unsigned long long  secs)
constexpr

Definition at line 122 of file time.hpp.

◆ operator""_us() [1/2]

constexpr time::duration<long double, time::microseconds::period> ndn::literals::time_literals::operator""_us ( long double  usecs)
constexpr

Definition at line 152 of file time.hpp.

◆ operator""_us() [2/2]

constexpr time::microseconds ndn::literals::time_literals::operator""_us ( unsigned long long  usecs)
constexpr

Definition at line 146 of file time.hpp.