lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
00001 /*****************************************************/ 00002 /* lean Meta (c) Tobias Zirr 2011 */ 00003 /*****************************************************/ 00004 00005 #ifndef LEAN_META_CONSTEXPR 00006 #define LEAN_META_CONSTEXPR 00007 00008 namespace lean 00009 { 00010 namespace meta 00011 { 00012 00014 template <int ConstIntExpr> 00015 struct ce_int 00016 { 00018 static const int value = ConstIntExpr; 00019 }; 00020 00021 } // namespace 00022 00023 using meta::ce_int; 00024 00025 } // namespace 00026 00027 #endif