summaryrefslogtreecommitdiff log msg author committer range
diff options
 context: 12345678910152025303540 space: includeignore mode: unifiedssdiffstat only
Diffstat (limited to 'doc/html/boost/algorithm/clamp_idp422683472.html')
-rw-r--r--doc/html/boost/algorithm/clamp_idp422683472.html100
1 files changed, 0 insertions, 100 deletions
 diff --git a/doc/html/boost/algorithm/clamp_idp422683472.html b/doc/html/boost/algorithm/clamp_idp422683472.htmldeleted file mode 100644index ed7499d33a..0000000000--- a/doc/html/boost/algorithm/clamp_idp422683472.html+++ /dev/null@@ -1,100 +0,0 @@-----Function template clamp---------
HomeLibrariesPeopleFAQMore
--------
-
--
-
-
-
-

Function template clamp

-

boost::algorithm::clamp

-
-

Synopsis

-
// In header: <boost/algorithm/clamp.hpp>---template<typename T, typename Pred> -  T const & clamp(T const & val, -                  typename boost::mpl::identity< T >::type const & lo, -                  typename boost::mpl::identity< T >::type const & hi, -                  Pred p);
-
-

Description

-

--

-
-
----

Parameters:

-----------------------

hi

The upper bound of the range to be clamped to

lo

The lower bound of the range to be clamped to

p

A predicate to use to compare the values. p ( a, b ) returns a boolean.

val

The value to be clamped

Returns:

the value "val" brought into the range [ lo, hi ] using the comparison predicate p. If p ( val, lo ) return lo. If p ( hi, val ) return hi. Otherwise, return the original value.

-------------
----
-
--
--