Skip to content

Commit 0c2e904

Browse files
committed
fix comments for type_identity
1 parent d717d99 commit 0c2e904

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/boost/algorithm/is_clamped.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
#ifndef BOOST_ALGORITHM_IS_CLAMPED_HPP
1515
#define BOOST_ALGORITHM_IS_CLAMPED_HPP
1616

17-
#include <functional> // For std::less
17+
#include <functional> // for std::less
1818
#include <cassert>
1919

2020
#include <boost/type_traits/type_identity.hpp> // for boost::type_identity
2121

2222
namespace boost { namespace algorithm {
2323

2424
/// \fn is_clamped ( T const& val,
25-
/// typename boost::mpl::identity<T>::type const & lo,
26-
/// typename boost::mpl::identity<T>::type const & hi, Pred p )
25+
/// typename boost::type_identity<T>::type const & lo,
26+
/// typename boost::type_identity<T>::type const & hi, Pred p )
2727
/// \returns true if value "val" is in the range [ lo, hi ]
2828
/// using the comparison predicate p.
2929
/// If p ( val, lo ) return false.
@@ -46,8 +46,8 @@ namespace boost { namespace algorithm {
4646
}
4747

4848
/// \fn is_clamped ( T const& val,
49-
/// typename boost::mpl::identity<T>::type const & lo,
50-
/// typename boost::mpl::identity<T>::type const & hi)
49+
/// typename boost::type_identity<T>::type const & lo,
50+
/// typename boost::type_identity<T>::type const & hi)
5151
/// \returns true if value "val" is in the range [ lo, hi ]
5252
/// using operator < for comparison.
5353
/// If the value is less than lo, return false.

0 commit comments

Comments
 (0)