diff -r 00a084f8ed26 -r 268721e6be20 sources/basics.h --- a/sources/basics.h Tue Dec 16 03:27:54 2014 +0200 +++ b/sources/basics.h Tue Dec 16 03:30:15 2014 +0200 @@ -44,6 +44,11 @@ using std::min; using std::max; +template +using Function = std::function; + +// ------------------------------------------------------------------------------------------------- +// enum Color { BLACK, @@ -59,15 +64,18 @@ NUM_COLORS }; -template -using Function = std::function; - +// ------------------------------------------------------------------------------------------------- +// FUNCTION print_to_console (String a) -> void; +// ------------------------------------------------------------------------------------------------- +// template inline FUNCTION clamp (T a, T b, T c) -> T { return (a < b) ? b : (a > c) ? c : a; } +// ------------------------------------------------------------------------------------------------- +// struct Exitception {};