xronos-sdk 0.5.0
Xronos C++ SDK
Loading...
Searching...
No Matches
xronos::sdk::operators Namespace Reference

Contains convenience streaming operators that allow printing time points and durations including their units. More...

Functions

auto operator<< (std::ostream &os, TimePoint tp) -> std::ostream &
 Write a timepoint to an ostream.
auto operator<< (std::ostream &os, std::chrono::seconds dur) -> std::ostream &
 Write a duration in seconds including the unit to an ostream.
auto operator<< (std::ostream &os, std::chrono::milliseconds dur) -> std::ostream &
 Write a duration in milliseconds including the unit to an ostream.
auto operator<< (std::ostream &os, std::chrono::microseconds dur) -> std::ostream &
 Write a duration in microseconds including the unit to an ostream.
auto operator<< (std::ostream &os, std::chrono::nanoseconds dur) -> std::ostream &
 Write a duration in nanoseconds including the unit to an ostream.

Detailed Description

Contains convenience streaming operators that allow printing time points and durations including their units.