--- a/sources/basics.h Sun Dec 14 23:41:00 2014 +0200 +++ b/sources/basics.h Mon Dec 15 01:41:06 2014 +0200 @@ -63,9 +63,12 @@ using Function = std::function<Signature>; FUNCTION print_to_console (const String& a) -> void; +FUNCTION request_exit() -> void; template<typename T> inline FUNCTION clamp (T a, T b, T c) -> T { return (a < b) ? b : (a > c) ? c : a; } + +struct Exitception {};