00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef META_MATH_LOOP1_INCLUDE
00013 #define META_MATH_LOOP1_INCLUDE
00014
00015
00016
00017 namespace meta_math {
00018
00019 template <std::size_t Index0, std::size_t Max0>
00020 struct loop1
00021 {
00022 static std::size_t const index0= Index0 - 1, next_index0= Index0 + 1;
00023 };
00024
00025
00026 template <std::size_t Max0>
00027 struct loop1<Max0, Max0>
00028 {
00029 static std::size_t const index0= Max0 - 1;
00030 };
00031
00032
00033 }
00034
00035 #endif // META_MATH_LOOP1_INCLUDE