update the docs
[SVN r17836]
This commit is contained in:
1 parent
747dae9e6c
commit
a69baa5eae
91 files changed
+1213
-501
No files matched your search
@@ -1,13 +1,13 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/less equal</title>
|
||||
<html><head><title>boost::mpl::less_equal</title>
|
||||
<link rel="stylesheet" href="../mpl_wiki.css">
|
||||
</head><body bgcolor="white">
|
||||
<h1><a href="../Table_of_Content.html"><img src="../mpl_logo.jpg" alt="[Home]" border=0 align="right"></a>less_equal</h1><h3>Synopsis</h3>
|
||||
<h1><a href="../Table_of_Contents.html"><img src="../mpl_logo.jpg" alt="[Home]" border=0 align="right"></a>less_equal</h1><h3>Synopsis</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename T1
|
||||
, typaname T2
|
||||
, typename T2
|
||||
>
|
||||
struct less_equal
|
||||
{
|
||||
@@ -17,12 +17,12 @@ struct less_equal
|
||||
<p>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
Returns <code>true_c</code> if <code>T1::value <= T2::value</code> and <code>false_c</code> otherwise [<a href="#1">1</a>].
|
||||
Returns <code>true_</code> if <code>T1::value <= T2::value</code> and <code>false_</code> otherwise [<a href="#1">1</a>].
|
||||
<p>
|
||||
<h3>Definition</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/comparison/less_equal.hpp">boost/mpl/comparison/less_equal.hpp</a>"
|
||||
#include "<a href="../../../../../boost/mpl/less_equal.hpp">boost/mpl/less_equal.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters</h3>
|
||||
@@ -35,7 +35,7 @@ Returns <code>true_c</code> if <code>T1::value <= T2::value</code> and <code>
|
||||
<p>
|
||||
<table border="1">
|
||||
<tr><th> Expression </th><th> Expression type </th><th> Precondition </th><th> Semantics </th><th> Postcondition </th></tr>
|
||||
<tr><td><code>typedef less_equal<t1,t2>::type c;</code></td><td>A model of <code>bool</code> <a href="../Integral_Constant.html">Integral Constant</a></td><td></td><td>Equivalent to <code>typedef bool_c<(t1::value <= t2::value)> c;</code></td><td></td></tr>
|
||||
<tr><td><code>typedef less_equal<t1,t2>::type c;</code></td><td>A model of <code>bool</code> <a href="../Integral_Constant.html">Integral Constant</a></td><td></td><td>Equivalent to <code>typedef bool_<(t1::value <= t2::value)> c;</code></td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity</h3>
|
||||
@@ -46,8 +46,8 @@ Amortized constant time.
|
||||
<p>
|
||||
<pre>
|
||||
typedef <a href="../Reference/list_c.html">list_c</a><int,0,1,2,3,4,5,6,7,8,9> numbers;
|
||||
typedef <a href="../Reference/remove_if.html">remove_if</a>< numbers, less_equal<_,int_c<4> > >::type result;
|
||||
BOOST_STATIC_ASSERT(<a href="../Reference/equal.html">equal</a>< result,<a href="../Reference/range_c.html">range_c</a><int,5,10>,<a href="../Reference/equal_to.html">equal_to</a><_,_> >::type::value));
|
||||
typedef <a href="../Reference/remove_if.html">remove_if</a>< numbers, less_equal<_1,int_<4> > >::type result;
|
||||
BOOST_STATIC_ASSERT(<a href="../Reference/equal.html">equal</a>< result,<a href="../Reference/range_c.html">range_c</a><int,5,10> >::type::value));
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Notes</h3>
|
||||
@@ -58,4 +58,4 @@ BOOST_STATIC_ASSERT(<a href="../Reference/equal.html">equal</a>< result,<a hr
|
||||
<p>
|
||||
<a href="../Metafunctions.html">Metafunctions</a>, <code><a href="../Reference/less.html">less</a></code>, <code><a href="../Reference/greater.html">greater</a></code>, <code><a href="../Reference/greater_equal.html">greater_equal</a></code>, <code><a href="../Reference/equal.html">equal</a></code>, <code><a href="../Reference/not_equal_to.html">not_equal_to</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited July 17, 2002 4:15 am</body></html>
|
||||
<a href="../Table_of_Contents.html">Table of Contents</a><br>Last edited March 10, 2003 6:28 am</body></html>
|
||||
Reference in new issue
Block a user