From 0c2e904c0df23db207f42a087260c25f70bc378f Mon Sep 17 00:00:00 2001 From: Ivan Matek Date: Tue, 31 Aug 2021 21:57:03 +0200 Subject: [PATCH] fix comments for type_identity --- include/boost/algorithm/is_clamped.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/algorithm/is_clamped.hpp b/include/boost/algorithm/is_clamped.hpp index 8619564..9238bbc 100644 --- a/include/boost/algorithm/is_clamped.hpp +++ b/include/boost/algorithm/is_clamped.hpp @@ -14,7 +14,7 @@ #ifndef BOOST_ALGORITHM_IS_CLAMPED_HPP #define BOOST_ALGORITHM_IS_CLAMPED_HPP -#include // For std::less +#include // for std::less #include #include // for boost::type_identity @@ -22,8 +22,8 @@ namespace boost { namespace algorithm { /// \fn is_clamped ( T const& val, -/// typename boost::mpl::identity::type const & lo, -/// typename boost::mpl::identity::type const & hi, Pred p ) +/// typename boost::type_identity::type const & lo, +/// typename boost::type_identity::type const & hi, Pred p ) /// \returns true if value "val" is in the range [ lo, hi ] /// using the comparison predicate p. /// If p ( val, lo ) return false. @@ -46,8 +46,8 @@ namespace boost { namespace algorithm { } /// \fn is_clamped ( T const& val, -/// typename boost::mpl::identity::type const & lo, -/// typename boost::mpl::identity::type const & hi) +/// typename boost::type_identity::type const & lo, +/// typename boost::type_identity::type const & hi) /// \returns true if value "val" is in the range [ lo, hi ] /// using operator < for comparison. /// If the value is less than lo, return false.