#ifndef __JLANG__JABSTRACTCLASS__ #define __JLANG__JABSTRACTCLASS__ #include "JLang/JTest.hh" /** * \author mdejong */ namespace JLANG {} namespace JPP { using namespace JLANG; } namespace JLANG { /** * Template class test for abstractness. */ template class JAbstractClass : public JTest { using JTest::test; template static JTrue test(U (*)[1]); public: static const bool is_abstract = !JTEST(test(0)); //!< true of class is abstract; else false }; } #endif