1 #ifndef __JLANG__JCONVERSION__ 
    2 #define __JLANG__JCONVERSION__ 
   13 namespace JPP { 
using namespace JLANG; }
 
   21   template<
class JDerived_t, 
class JBase_t>
 
   23     static const bool is_derived = std::is_base_of<JBase_t, JDerived_t>::value;   
 
   24     static const bool is_same    = std::is_same   <JBase_t, JDerived_t>::value;   
 
   42   template<class JDerived_t, class JBase_t, bool is_derived = JConversion<JDerived_t,JBase_t>::is_derived>
 
   48   template<
class JDerived_t, 
class JBase_t>
 
static const bool is_same
true, if JDerived_t is equal to JBase_t 
 
Auxialiary class to assert type conversion. 
 
static const bool is_derived
true, if JDerived_t derives from JBase_t 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
Template class test for polymorphism.