C++ベースのLightweightなHTTPサーバー
| Revision | 8fed3eeb0f4a20df3829639181d69c97290f2c36 (tree) |
|---|---|
| Time | 2013-03-17 14:06:56 |
| Author | Michio Hirai <smg_ykz@user...> |
| Commiter | Michio Hirai |
[BugFix] Fix the problem of mt::Append metafunction
| @@ -47,6 +47,12 @@ struct Append<Typelist<T, U>, V> | ||
| 47 | 47 | typedef Typelist<T, typename Append<U, V>::Result > Result; |
| 48 | 48 | }; |
| 49 | 49 | |
| 50 | +template <typename T, typename U, typename V> | |
| 51 | +struct Append<Typelist<T, NullType>, Typelist<U, V> > | |
| 52 | +{ | |
| 53 | + typedef Typelist<T, Typelist<U, V> > Result; | |
| 54 | +}; | |
| 55 | + | |
| 50 | 56 | template <typename T> |
| 51 | 57 | struct Append<NullType, T> |
| 52 | 58 | { |