Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template< int a0 , int a1 , int a2 , int a3 , int a4>
- struct ListMake
- {
- };
- template<>
- struct ListMake< 0 , 0 , 0 , 0 , 0 >
- {
- (typedef EndOfList type);
- };
- template< int a0>
- struct ListMake< a0 , 0 , 0 , 0 , 0 >
- {
- (typedef IntList<a0, typename ListMake<>::type > type );
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement