Jpp  master_rocky-43-ge265d140c
the software that should make you happy
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 classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for any type definition.
Definition: JAnyType.hh:19
JAnyType(const T &any_type)
Type conversion operation.
Definition: JAnyType.hh:26