#ifndef __JLANG__JCONSTRUCTOR__ #define __JLANG__JCONSTRUCTOR__ #include "JLang/JTest.hh" /** * \author mdejong */ namespace JLANG {} namespace JPP { using namespace JLANG; } namespace JLANG { /** * Template class test for availability of a suitable constructor JType_t(const JArgument_t). */ template class JConstructor : public JTest { using JTest::test; static JTrue test(const JType_t&); static const JArgument_t& getReference(); public: static const bool has_constructor = JTEST(test(getReference())); //!< true if JType_t can be constructed from JArgument_t; else false }; } #endif