C++ベースのLightweightなHTTPサーバー
| Revision | e44831518755dd8fbf2836a7a579d0aea629c6e9 (tree) |
|---|---|
| Time | 2012-12-16 22:03:48 |
| Author | Michio Hirai <smg_ykz@user...> |
| Commiter | Michio Hirai |
[Refactor] Remove implementation details for mt::getArrayLength() function.
| @@ -5,10 +5,7 @@ | ||
| 5 | 5 | namespace mt { |
| 6 | 6 | |
| 7 | 7 | template <typename T, size_t N> |
| 8 | -char (&getArrayLength(const T (&)[N]))[N] | |
| 9 | -{ | |
| 10 | - return N; | |
| 11 | -} | |
| 8 | +char (&getArrayLength(const T (&)[N]))[N]; | |
| 12 | 9 | |
| 13 | 10 | } // namespace mt |
| 14 | 11 |