This is a cross-platform, header-only library for core routines.
The code in this header file is put inside a namespace datetime
which contain classes Date
, Time
and DateTime
.
The code here is in namespace Delay
and features two functions sleep(T us)
and update_loop(int fps, std::function<bool(void)> update_func)
.