sources/basics.h

changeset 5
146825d63b9a
parent 1
4dd5bde4e777
child 14
33b8f428bacb
equal deleted inserted replaced
4:ec5387e121fa 5:146825d63b9a
31 #pragma once 31 #pragma once
32 #include <algorithm> 32 #include <algorithm>
33 #include <functional> 33 #include <functional>
34 34
35 #define FUNCTION auto 35 #define FUNCTION auto
36 #define STATIC
36 #define METHOD auto 37 #define METHOD auto
37 #define MACRO_TO_STRING_2(A) #A 38 #define MACRO_TO_STRING_2(A) #A
38 #define MACRO_TO_STRING(A) MACRO_TO_STRING_2(A) 39 #define MACRO_TO_STRING(A) MACRO_TO_STRING_2(A)
39 40
40 using std::swap; 41 using std::swap;
42 using std::min;
43 using std::max;
41 44
42 enum Color 45 enum Color
43 { 46 {
44 BLACK, 47 BLACK,
45 RED, 48 RED,

mercurial