.. _program_listing_file__tmp_ws_src_ecl_core_ecl_mpl_include_ecl_mpl_converters.hpp: Program Listing for File converters.hpp ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/ecl_core/ecl_mpl/include/ecl/mpl/converters.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef ECL_MPL_CONVERTERS_HPP_ #define ECL_MPL_CONVERTERS_HPP_ /***************************************************************************** ** Namespaces *****************************************************************************/ namespace ecl { /***************************************************************************** ** Signed to Unsigned Template MetaConversions *****************************************************************************/ template struct Unsigned {}; template <> struct Unsigned { typedef unsigned char type; }; template <> struct Unsigned { typedef unsigned short type; }; template <> struct Unsigned { typedef unsigned int type; }; template <> struct Unsigned { typedef unsigned long type; }; template <> struct Unsigned { typedef unsigned long long type; }; template <> struct Unsigned { typedef unsigned char type; }; template <> struct Unsigned { typedef unsigned short type; }; template <> struct Unsigned { typedef unsigned int type; }; template <> struct Unsigned { typedef unsigned long type; }; template <> struct Unsigned { typedef unsigned long long type; }; } // namespace ecl #endif /* ECL_MPL_CONVERTERS_HPP_ */