lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
00001 /*****************************************************/ 00002 /* lean Macros (c) Tobias Zirr 2011 */ 00003 /*****************************************************/ 00004 00005 #ifndef LEAN_MACROS 00006 #define LEAN_MACROS 00007 00010 00012 #define LEAN_JOIN(a, b) a##b 00013 00014 #define LEAN_JOIN_VALUES(a, b) LEAN_JOIN(a, b) 00015 00017 #define LEAN_QUOTE(expr) #expr 00018 00019 #define LEAN_QUOTE_VALUE(value) LEAN_QUOTE(value) 00020 00022 #define LEAN_SOURCE_STRING __FILE__ " (" LEAN_QUOTE_VALUE(__LINE__) ")" 00023 00025 00026 #endif