Advertisement
karlicoss

укур два

Jun 10th, 2011
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1.  
  2. template< int a0 , int a1 , int a2 , int a3 , int a4>
  3. struct ListMake
  4. {
  5.  
  6. };
  7.  
  8.  
  9. template<>
  10. struct ListMake< 0 , 0 , 0 , 0 , 0 >
  11. {
  12. (typedef EndOfList type);
  13. };
  14.  
  15. template< int a0>
  16. struct ListMake< a0 , 0 , 0 , 0 , 0 >
  17. {
  18. (typedef IntList<a0, typename ListMake<>::type > type );
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement