//meta_tools.h /** * The generic facilities for meta-programming * Copyright (C) 2003 olegabr&Co. All rights reserved. */ #ifndef OLEGABR_MEXP_META_TOOLS_H #define OLEGABR_MEXP_META_TOOLS_H namespace mexp { namespace util { /** * the types '==' facility * its like Type1 == Type2 * usage: * if ( types_equal::res ) do something; */ template struct types_equal { static const bool res = false; }; template struct types_equal { static const bool res = true; }; } //namespace util } //namespace mexp #endif //OLEGABR_MEXP_META_TOOLS_H