diff --git a/rclcpp/include/rclcpp/function_traits.hpp b/rclcpp/include/rclcpp/function_traits.hpp index cd62da3763..ca176ecc16 100644 --- a/rclcpp/include/rclcpp/function_traits.hpp +++ b/rclcpp/include/rclcpp/function_traits.hpp @@ -78,6 +78,7 @@ template struct function_traits: function_traits {}; +/// \cond // noexcept is part of the function type since C++17, so the noexcept variants need their own // specializations. template @@ -87,6 +88,7 @@ struct function_traits: function_traits struct function_traits: function_traits {}; +/// \endcond // std::bind for object methods template @@ -126,6 +128,7 @@ struct function_traits< : function_traits {}; +/// \cond // std::bind for object noexcept methods template #if defined DOXYGEN_ONLY @@ -145,7 +148,9 @@ struct function_traits< #endif : function_traits {}; +/// \endcond +/// \cond // std::bind for object const noexcept methods template #if defined DOXYGEN_ONLY @@ -165,6 +170,7 @@ struct function_traits< #endif : function_traits {}; +/// \endcond // std::bind for free functions template @@ -182,6 +188,7 @@ struct function_traits {}; +/// \cond // std::bind for noexcept free functions template #if defined DOXYGEN_ONLY @@ -198,6 +205,7 @@ struct function_traits< #endif : function_traits {}; +/// \endcond // Lambdas template @@ -205,10 +213,12 @@ struct function_traits : function_traits {}; +/// \cond template struct function_traits : function_traits {}; +/// \endcond template struct function_traits: function_traits