2016-01-06 20:02:06 +00:00
|
|
|
#pragma once
|
2015-11-18 19:59:03 +00:00
|
|
|
|
2015-11-25 21:00:24 +00:00
|
|
|
#include <chrono>
|
2016-08-09 20:31:16 +00:00
|
|
|
#include <ostream>
|
2015-11-25 21:00:24 +00:00
|
|
|
|
2015-11-18 19:59:03 +00:00
|
|
|
typedef std::chrono::duration<int, std::centi> centiseconds;
|
|
|
|
|
|
|
|
std::ostream& operator <<(std::ostream& stream, const centiseconds cs);
|
2016-07-05 19:17:51 +00:00
|
|
|
|
|
|
|
#pragma warning(push)
|
|
|
|
#pragma warning(disable: 4455)
|
2016-08-09 20:31:16 +00:00
|
|
|
inline constexpr centiseconds operator "" _cs(unsigned long long cs) {
|
2016-07-05 19:17:51 +00:00
|
|
|
return centiseconds(cs);
|
|
|
|
}
|
|
|
|
#pragma warning(pop)
|