| 141 | //#define sizeof_array(x) (sizeof(x)/sizeof(*x)) |
| 142 | template <typename T, size_t N> |
| 143 | size_t sizeof_array(const T (&)[N]) |
| 144 | { |
| 145 | return N; |
| 146 | } |
| 147 | |
| 148 | // functor designed for use in the stl |
| 149 | template <typename T> |
nothing calls this directly
no outgoing calls
no test coverage detected