.. _program_listing_file__tmp_ws_src_ecl_core_ecl_mpl_include_ecl_mpl_enable_if.hpp: Program Listing for File enable_if.hpp ====================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/ecl_core/ecl_mpl/include/ecl/mpl/enable_if.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef ECL_MPL_ENABLE_HPP_ #define ECL_MPL_ENABLE_HPP_ /***************************************************************************** ** Namespaces *****************************************************************************/ namespace ecl { template struct enable_if_c { typedef T type; }; template struct enable_if_c {}; template struct enable_if : public enable_if_c {}; } //namespace ecl #endif /* ECL_MPL_ENABLE_HPP_ */