.. _program_listing_file__tmp_ws_src_eigenpy_include_eigenpy_scalar-conversion.hpp: Program Listing for File scalar-conversion.hpp ============================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/eigenpy/include/eigenpy/scalar-conversion.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // // Copyright (c) 2014-2024 CNRS INRIA // #ifndef __eigenpy_scalar_conversion_hpp__ #define __eigenpy_scalar_conversion_hpp__ #include "eigenpy/config.hpp" #include #include namespace eigenpy { template struct FromTypeToType : public boost::mpl::if_c::value, std::true_type, typename boost::numeric::conversion_traits< Source, Target>::subranged>::type {}; template struct FromTypeToType, std::complex > : public boost::mpl::if_c< std::is_same::value, std::true_type, typename boost::numeric::conversion_traits< ScalarSource, ScalarTarget>::subranged>::type {}; } // namespace eigenpy #endif // __eigenpy_scalar_conversion_hpp__