sources/basics.h

changeset 32
ee770597a281
parent 27
089e37c0887e
child 51
481073b016a9
equal deleted inserted replaced
31:b5b5a6a96d91 32:ee770597a281
60 }; 60 };
61 61
62 template<typename Signature> 62 template<typename Signature>
63 using Function = std::function<Signature>; 63 using Function = std::function<Signature>;
64 64
65 FUNCTION print_to_console (const String& a) -> void; 65 FUNCTION print_to_console (String a) -> void;
66 FUNCTION request_exit() -> void; 66 FUNCTION request_exit() -> void;
67 67
68 template<typename T> inline FUNCTION 68 template<typename T> inline FUNCTION
69 clamp (T a, T b, T c) -> T 69 clamp (T a, T b, T c) -> T
70 { 70 {

mercurial