equal
deleted
inserted
replaced
6 #include "direction_type.h" |
6 #include "direction_type.h" |
7 #include "road_type.h" |
7 #include "road_type.h" |
8 |
8 |
9 |
9 |
10 template<uint N> static inline void ExtractValid(); |
10 template<uint N> static inline void ExtractValid(); |
11 template<> static inline void ExtractValid<1>() {} |
11 template<> inline void ExtractValid<1>() {} |
12 |
12 |
13 |
13 |
14 template<typename T> struct ExtractBits; |
14 template<typename T> struct ExtractBits; |
15 template<> struct ExtractBits<Axis> { static const uint Count = 1; }; |
15 template<> struct ExtractBits<Axis> { static const uint Count = 1; }; |
16 template<> struct ExtractBits<DiagDirection> { static const uint Count = 2; }; |
16 template<> struct ExtractBits<DiagDirection> { static const uint Count = 2; }; |