aimstil  5.0.5
meta.h
Go to the documentation of this file.
1 #ifndef TIL_META_H
2 #define TIL_META_H
3 
5 
6 namespace til { namespace meta
7 {
8 
10  template < int i > struct int_type
11  {
12  enum { value = i };
13  };
14 
15  template < typename T1, typename T2 > struct add_type;
16 
18  template < int i, int j>
19  struct add_type<int_type<i>, int_type<j> >
20  {
22  };
23 
24 
25 
26 }}// namespace til::meta
27 
28 #endif
29 
Belongs to package Box Do not include directly, include til/Box.h instead.
Definition: Accumulator.h:10
Type representing an integer.
Definition: meta.h:10