src/basics.h

changeset 92
c438a7db7c52
parent 81
62373840e33a
parent 90
e234edb5e613
child 96
165777a20dc7
equal deleted inserted replaced
89:7abaf1d64719 92:c438a7db7c52
79 one = one ^ other; 79 one = one ^ other;
80 return one; 80 return one;
81 } 81 }
82 82
83 template<typename T, int N> 83 template<typename T, int N>
84 constexpr int countof(T(&)[N]) 84 constexpr int countof(T const (&)[N])
85 { 85 {
86 return N; 86 return N;
87 } 87 }
88 88
89 /** 89 /**

mercurial