diff -r 09dcaeaa216b -r 33b8f428bacb sources/basics.h --- a/sources/basics.h Sat Dec 13 04:50:33 2014 +0200 +++ b/sources/basics.h Sat Dec 13 07:36:00 2014 +0200 @@ -31,6 +31,7 @@ #pragma once #include #include +#include #define FUNCTION auto #define STATIC @@ -38,10 +39,18 @@ #define MACRO_TO_STRING_2(A) #A #define MACRO_TO_STRING(A) MACRO_TO_STRING_2(A) +class String; + using std::swap; using std::min; using std::max; +template +using SharedPointer = std::shared_ptr; + +template +using WeakPointer = std::weak_ptr; + enum Color { BLACK, @@ -59,3 +68,5 @@ template using Function = std::function; + +FUNCTION print_to_console (const String& a) -> void;