ndn::literals::time_literals Namespace Reference

Functions

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

Function Documentation

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

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

Definition at line 61 of file time.hpp.

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

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

Definition at line 67 of file time.hpp.

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

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

Definition at line 73 of file time.hpp.

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

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

Definition at line 79 of file time.hpp.

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

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

Definition at line 85 of file time.hpp.

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

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

Definition at line 91 of file time.hpp.

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

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

Definition at line 97 of file time.hpp.

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

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

Definition at line 103 of file time.hpp.

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

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

Definition at line 121 of file time.hpp.

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

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

Definition at line 127 of file time.hpp.

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

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

Definition at line 145 of file time.hpp.

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

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

Definition at line 151 of file time.hpp.

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

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

Definition at line 109 of file time.hpp.

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

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

Definition at line 115 of file time.hpp.

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

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

Definition at line 133 of file time.hpp.

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

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

Definition at line 139 of file time.hpp.