2016-01-06 20:02:06 +00:00
|
|
|
#pragma once
|
2015-11-19 20:17:35 +00:00
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
#include <memory>
|
2016-03-01 20:57:05 +00:00
|
|
|
#include <chrono>
|
2015-11-19 20:17:35 +00:00
|
|
|
|
|
|
|
#define UNUSED(x) ((void)(x))
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
using lambda_unique_ptr = std::unique_ptr<T, std::function<void(T*)>>;
|
2016-03-01 20:57:05 +00:00
|
|
|
|
|
|
|
std::string formatDuration(std::chrono::duration<double> seconds);
|