.. _program_listing_file__tmp_ws_src_eigenpy_include_eigenpy_utils_traits.hpp: Program Listing for File traits.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/eigenpy/include/eigenpy/utils/traits.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // // Copyright (c) 2024 INRIA // // #ifndef __eigenpy_utils_traits_hpp__ #define __eigenpy_utils_traits_hpp__ #include #include #include namespace eigenpy { namespace details { template struct remove_cvref : std::remove_cv::type> { }; template struct is_class_or_union : std::integral_constant::value || std::is_union::value> {}; template struct is_python_complex : std::false_type {}; template <> struct is_python_complex > : std::true_type {}; template <> struct is_python_complex > : std::true_type {}; template <> struct is_python_complex > : std::true_type {}; template struct is_python_primitive_type_helper : std::integral_constant::value || std::is_same::value || std::is_same::value || is_python_complex::value> {}; template struct is_python_primitive_type : is_python_primitive_type_helper::type> {}; } // namespace details } // namespace eigenpy #endif // ifndef __eigenpy_utils_traits_hpp__