Jpp  15.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JAnyType.hh
Go to the documentation of this file.
1 #ifndef __JLANG__JANYTYPE__
2 #define __JLANG__JANYTYPE__
3 
4 
5 /**
6  * \author mdejong
7  */
8 
9 namespace JLANG {}
10 namespace JPP { using namespace JLANG; }
11 
12 namespace JLANG {
13 
14 
15  /**
16  * Auxiliary class for any type definition.
17  * This class can be used to test the validity of an expression through type conversion.
18  */
19  struct JAnyType {
20  /**
21  * Type conversion operation.
22  *
23  * \param any_type any type
24  */
25  template<class T>
26  JAnyType(const T& any_type)
27  {}
28  };
29 }
30 
31 #endif
Auxiliary class for any type definition.
Definition: JAnyType.hh:19
do set_variable OUTPUT_DIRECTORY $WORKDIR T
JAnyType(const T &any_type)
Type conversion operation.
Definition: JAnyType.hh:26