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_DEPENDENT_FALSE 00006 #define LEAN_META_DEPENDENT_FALSE 00007 00008 namespace lean 00009 { 00010 namespace meta 00011 { 00012 00014 template <class T> 00015 struct dependent_false 00016 { 00018 static const bool value = false; 00019 }; 00020 00022 template <int N> 00023 struct int_dependent_false 00024 { 00026 static const bool value = false; 00027 }; 00028 00029 } // namespace 00030 00031 using meta::dependent_false; 00032 using meta::int_dependent_false; 00033 00034 } // namespace 00035 00036 #endif