TF++, Miscellaneous classes and modules in C++:
misc.h
Go to the documentation of this file.
1 
40 // include guard
41 #ifndef TF_MISC_H_VERSION
42 
43 #define TF_MISC_H_VERSION \
44  "TF_MISC_H V2.0"
45 
46 #include<iostream>
47 
48 namespace tfxx {
49 
54 } // namespace tfxx
55 
56 /*======================================================================*/
57 // some misc macro functions
58 //
59 
67 #define TFXX_debug(C,N,M) \
68  if (C) { \
69  std::cerr << "DEBUG (" << N << ", " \
70  << __FILE__ << " line #" << __LINE__ << "):" << std::endl \
71  << " " << M << std::endl; \
72  std::cerr.flush(); \
73  }
74 
80 #define TFXX_value(V) #V << "=" << V
81 
82 #endif // TF_MISC_H_VERSION (includeguard)
83 
84 /* ----- END OF misc.h ----- */
Namespace containing all code of library libtfxx.