Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 1 | |
| 2 | // Copyright Aleksey Gurtovoy 2000-2004 |
| 3 | // |
| 4 | // Distributed under the Boost Software License, Version 1.0. |
| 5 | // (See accompanying file LICENSE_1_0.txt or copy at |
| 6 | // http://www.boost.org/LICENSE_1_0.txt) |
| 7 | // |
| 8 | |
| 9 | // Preprocessed version of "ndnboost/mpl/apply_wrap.hpp" header |
| 10 | // -- DO NOT modify by hand! |
| 11 | |
| 12 | namespace ndnboost { namespace mpl { |
| 13 | |
| 14 | template< |
| 15 | typename F |
| 16 | |
| 17 | , typename has_apply_ = typename aux::has_apply<F>::type |
| 18 | |
| 19 | > |
| 20 | struct apply_wrap0 |
| 21 | |
| 22 | : F::template apply< > |
| 23 | { |
| 24 | }; |
| 25 | |
| 26 | template< typename F > |
| 27 | struct apply_wrap0< F,true_ > |
| 28 | : F::apply |
| 29 | { |
| 30 | }; |
| 31 | |
| 32 | template< |
| 33 | typename F, typename T1 |
| 34 | |
| 35 | > |
| 36 | struct apply_wrap1 |
| 37 | |
| 38 | : F::template apply<T1> |
| 39 | { |
| 40 | }; |
| 41 | |
| 42 | template< |
| 43 | typename F, typename T1, typename T2 |
| 44 | |
| 45 | > |
| 46 | struct apply_wrap2 |
| 47 | |
| 48 | : F::template apply< T1,T2 > |
| 49 | { |
| 50 | }; |
| 51 | |
| 52 | template< |
| 53 | typename F, typename T1, typename T2, typename T3 |
| 54 | |
| 55 | > |
| 56 | struct apply_wrap3 |
| 57 | |
| 58 | : F::template apply< T1,T2,T3 > |
| 59 | { |
| 60 | }; |
| 61 | |
| 62 | template< |
| 63 | typename F, typename T1, typename T2, typename T3, typename T4 |
| 64 | |
| 65 | > |
| 66 | struct apply_wrap4 |
| 67 | |
| 68 | : F::template apply< T1,T2,T3,T4 > |
| 69 | { |
| 70 | }; |
| 71 | |
| 72 | template< |
| 73 | typename F, typename T1, typename T2, typename T3, typename T4 |
| 74 | , typename T5 |
| 75 | |
| 76 | > |
| 77 | struct apply_wrap5 |
| 78 | |
| 79 | : F::template apply< T1,T2,T3,T4,T5 > |
| 80 | { |
| 81 | }; |
| 82 | |
| 83 | }} |
| 84 | |