mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 06:44:37 +02:00
update the docs
[SVN r17844]
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/erase all</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>erase_all</h1><h3>Synopsis
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename Sequence
|
||||
, typename T
|
||||
>
|
||||
struct erase_all
|
||||
{
|
||||
typedef <em>implementation-defined</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Definition
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/erase_all.hpp">boost/mpl/erase_all.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default argument </th></tr>
|
||||
<tr><td><code>Param</code></td><td>A model of Concept</td><td>[to do]</td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Members
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Member </th><th> Description </th></tr>
|
||||
<tr><td><code>type</code></td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Example
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
[to do]
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also
|
||||
</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/erase.html">erase</a></code>, <code><a href="../Reference/erase_if.html">erase_if</a></code>, <code><a href="../Reference/erase_range.html">erase_range</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited February 19, 2002 3:53 am</body></html>
|
@@ -1,62 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/erase if</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>erase_if</h1><h3>Synopsis
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename Sequence
|
||||
, typename Predicate
|
||||
>
|
||||
struct erase_if
|
||||
{
|
||||
typedef <em>implementation-defined</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Definition
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/erase_if.hpp">boost/mpl/erase_if.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default argument </th></tr>
|
||||
<tr><td><code>Param</code></td><td>A model of Concept</td><td>[to do]</td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Members
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Member </th><th> Description </th></tr>
|
||||
<tr><td><code>type</code></td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Example
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
[to do]
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also
|
||||
</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/erase_all.html">erase_all</a></code>, <code><a href="../Reference/erase_if.html">erase_if</a></code>, <code><a href="../Reference/erase_range.html">erase_range</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited February 19, 2002 3:54 am</body></html>
|
@@ -1,70 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/iter fold if</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>iter_fold_if</h1><h3>Synopsis</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename Sequence
|
||||
, typename State
|
||||
, typename BackwardOp
|
||||
, typename ForwardOp = _1
|
||||
>
|
||||
struct iter_fold_backward
|
||||
{
|
||||
typedef <em>unspecified</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
Returns the result of the successive application of binary <code>BackwardOp</code> to the result of the previous <code>BackwardOp</code> invocation (<code>State</code> if it's the first call) and each iterator in the range <code>[begin<Sequence>::type,end<Sequence>::type)</code> in the reverse order. If <code>ForwardOp</code> is provided, then it's applied on forward traversal to form the result which is passed to the first <code>BackwardOp</code> call.
|
||||
<p>
|
||||
<h3>Definition</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/iter_fold_backward.hpp">boost/mpl/iter_fold_backward.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default value </th></tr>
|
||||
<tr><td><code>Sequence</code></td><td>A model of <a href="../Sequence.html">Sequence</a></td><td>A sequence to iterate.</td><td></td></tr>
|
||||
<tr><td><code>State</code></td><td>A type</td><td>The initial state for the first <code>BackwardOp</code>/<code>ForwardOp</code> application.</td><td></td></tr>
|
||||
<tr><td><code>BackwardOp</code></td><td>A model of [Lambda Function]</td><td>The operation to be executed on backward traversal.</td><td></td></tr>
|
||||
<tr><td><code>ForwardOp</code></td><td>A model of [Lambda Function]</td><td>The operation to be executed on forward traversal.</td><td><code>arg<1></code> </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Expression semantics</h3>
|
||||
<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 iter_fold_backward< Sequence,T,BackwardOp >::type t;</code></td><td>A type</td><td></td><td>Equivalent to <code>typedef lambda<BackwardOp>::type bk_op; typedef begin<Sequence>::type i1; typedef i1::next i2; ...; typedef in::next last; typedef apply<bk_op,T,in>::type tn; typedef apply<bk_op,tn,in-1>::type tn-1; ...; typedef apply<bk_op,t2,i1>::type t1; typedef t1 t</code>, where <code>n == size<Sequence>::type::value</code> and <code>last</code> is identical to <code>end<Sequence>::type</code>; Equivalent to <code>typedef T t;</code> if the sequence is empty.</td><td></td></tr>
|
||||
<tr><td><code>typedef iter_fold_backward< Sequence,T,BackwardOp,ForwardOp >::type t;</code></td><td>A type</td><td></td><td>Equivalent to <code>typedef iter_fold_backward<Sequence, iter_fold<Sequence,State,ForwardOp>::type, BackwardOp>::type t;</code>.</td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity</h3>
|
||||
<p>
|
||||
Linear. Exactly <code><a href="../Reference/size.html">size</a><Sequence>::type::value</code> applications of <code>BackwardOp</code> and <code>ForwardOp</code>.
|
||||
<p>
|
||||
<h3>Example</h3>
|
||||
<p>
|
||||
Finds an iterator to the last negative element in the sequence.
|
||||
<p>
|
||||
<pre>
|
||||
typedef <a href="../Reference/list_c.html">list_c</a><int,5,-1,0,7,2,0,-5,4> numbers;
|
||||
typedef iter_fold_backward<
|
||||
numbers
|
||||
, <a href="../Reference/end.html">end</a><numbers>::type
|
||||
, if_< <a href="../Reference/less.html">less</a>< deref<_2>, int_c<0> >,_2,_1 >
|
||||
>::type last_negative_iter;
|
||||
<p>
|
||||
BOOST_STATIC_ASSERT(last_negative_iter::type::value == -5);
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/iter_fold.html">iter_fold</a></code>, <code><a href="../Reference/fold_backward.html">fold_backward</a></code>, <code><a href="../Reference/fold.html">fold</a></code>, <code><a href="../Reference/copy.html">copy</a></code>, <code><a href="../Reference/copy_backward.html">copy_backward</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited July 19, 2002 1:25 am</body></html>
|
@@ -1,62 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/logical and</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>logical_and</h1><h3>Synopsis</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename F1
|
||||
, typename F2
|
||||
, typename F3 = true_c
|
||||
...
|
||||
, typename Fn = true_c
|
||||
>
|
||||
struct logical_and
|
||||
{
|
||||
typedef <em>unspecified</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
Returns the result of short-circuit <em>logical and</em> (<code>&&</code>) operation on its arguments.
|
||||
<p>
|
||||
<h3>Definition</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/logical/and.hpp">boost/mpl/logical/and.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th></tr>
|
||||
<tr><td><code>F1, F2, .., Fn</code></td><td>A model of nullary <a href="../Metafunction.html">Metafunction</a></td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Expression semantics</h3>
|
||||
<p>
|
||||
<table border="1">
|
||||
<tr><th> Expression </th><th> Precondition </th><th> Semantics </th><th> Postcondition </th></tr>
|
||||
<tr><td><code>typedef logical_and<f1,f2,..,fn>::type c;</code></td><td></td><td>Returns <code>false_c</code> if either of <code>f1::type::value, f2::type::value, .., fn::type::value</code> expressions evaluates to <code>false</code>, and <code>true_c</code> otherwise; guarantees left-to-right evaluation; moreover, the operands subsequent to the first <code>fi</code> metafunction that evaluates to <code>false</code> are not evaluated.</td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Example</h3>
|
||||
<p>
|
||||
<pre>
|
||||
<span class="cxx-comment">// will generate compile-time error if invoked with T == any fundamental type</span>
|
||||
template< typename T > struct fail
|
||||
{
|
||||
typedef typename T::nonexistent type;
|
||||
};
|
||||
<p>
|
||||
BOOST_STATIC_ASSERT((logical_and< true_c,false_c >::type::value == false));
|
||||
BOOST_STATIC_ASSERT((logical_and< false_c,fail<int> >::type::value == false)); <span class="cxx-comment">// ok, fail<int> is never invoked</span>
|
||||
BOOST_STATIC_ASSERT((logical_and< true_c,false_c,fail<int> >::type::value == false)); <span class="cxx-comment">// ok too</span>
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also</h3>
|
||||
<p>
|
||||
<a href="../Metafunctions.html">Metafunctions</a>, <code><a href="../Reference/logical_or.html">logical_or</a></code>, <code><a href="../Reference/logical_not.html">logical_not</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 1:06 am</body></html>
|
@@ -1,51 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/logical not</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>logical_not</h1><h3>Synopsis</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename F
|
||||
>
|
||||
struct logical_not
|
||||
{
|
||||
typedef <em>unspecified</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
Returns the result of <em>logical not</em> (<code>!</code>) operation on its argument.
|
||||
<p>
|
||||
<h3>Definition</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/logical/not.hpp">boost/mpl/logical/not.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th></tr>
|
||||
<tr><td><code>F</code></td><td>A model of nullary <a href="../Metafunction.html">Metafunction</a></td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Expression semantics</h3>
|
||||
<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 logical_not<f>::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<(!f::type::value)> c;</code></td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Example</h3>
|
||||
<p>
|
||||
<pre>
|
||||
BOOST_STATIC_ASSERT(logical_not<true_c>::type::value == false);
|
||||
BOOST_STATIC_ASSERT(logical_not<false_c>::type::value == true);
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also</h3>
|
||||
<p>
|
||||
<a href="../Metafunctions.html">Metafunctions</a>, <code><a href="../Reference/logical_and.html">logical_and</a></code>, <code><a href="../Reference/logical_or.html">logical_or</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:13 am</body></html>
|
@@ -1,62 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/logical or</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>logical_or</h1><h3>Synopsis</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename F1
|
||||
, typename F2
|
||||
, typename F3 = false_c
|
||||
...
|
||||
, typename Fn = false_c
|
||||
>
|
||||
struct logical_or
|
||||
{
|
||||
typedef <em>unspecified</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description</h3>
|
||||
<p>
|
||||
Returns the result of short-circuit <em>logical or</em> (<code>||</code>) operation on its arguments.
|
||||
<p>
|
||||
<h3>Definition</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/logical/or.hpp">boost/mpl/logical/or.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th></tr>
|
||||
<tr><td><code>F1, F2, .., Fn</code></td><td>A model of nullary <a href="../Metafunction.html">Metafunction</a></td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Expression semantics</h3>
|
||||
<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 logical_or<f1,f2,..,fn>::type c;</code></td><td>A model of <code>bool</code> <a href="../Integral_Constant.html">Integral Constant</a></td><td></td><td>Returns <code>true_c</code> if either of <code>f1::type::value, f2::type::value, .., fn::type::value</code> expressions evaluates to true, and <code>false_c</code> otherwise; guarantees left-to-right evaluation; moreover, the operands subsequent to the first <code>fi</code> metafunction that evaluates to true are not evaluated.</td><td></td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Example</h3>
|
||||
<p>
|
||||
<pre>
|
||||
<span class="cxx-comment">// will generate compile-time error if invoked with T == any fundamental type</span>
|
||||
template< typename T > struct fail
|
||||
{
|
||||
typedef typename T::nonexistent type;
|
||||
};
|
||||
<p>
|
||||
BOOST_STATIC_ASSERT((logical_or< false_c,true_c >::type::value == true));
|
||||
BOOST_STATIC_ASSERT((logical_or< true_c,fail<int> >::type::value == true)); <span class="cxx-comment">// ok, fail<int> is never invoked</span>
|
||||
BOOST_STATIC_ASSERT((logical_or< false_c,true_c,fail<int> >::type::value == true)); <span class="cxx-comment">// ok too</span>
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also</h3>
|
||||
<p>
|
||||
<a href="../Metafunctions.html">Metafunctions</a>, <code><a href="../Reference/logical_and.html">logical_and</a></code>, <code><a href="../Reference/logical_not.html">logical_not</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:12 am</body></html>
|
@@ -1,61 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/next</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>next</h1><h3>Synopsis
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename T
|
||||
>
|
||||
struct next
|
||||
{
|
||||
typedef <em>implementation-defined</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Definition
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/next.hpp">boost/mpl/next.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default argument </th></tr>
|
||||
<tr><td><code>Param</code></td><td>A model of Concept</td><td>[to do]</td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Members
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Member </th><th> Description </th></tr>
|
||||
<tr><td><code>type</code></td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Example
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
[to do]
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also
|
||||
</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/prior.html">prior</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited February 19, 2002 4:25 am</body></html>
|
@@ -1,61 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/prior</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>prior</h1><h3>Synopsis
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename T
|
||||
>
|
||||
struct prior
|
||||
{
|
||||
typedef <em>implementation-defined</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Definition
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/prior.hpp">boost/mpl/prior.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default argument </th></tr>
|
||||
<tr><td><code>Param</code></td><td>A model of Concept</td><td>[to do]</td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Members
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Member </th><th> Description </th></tr>
|
||||
<tr><td><code>type</code></td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Example
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
[to do]
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also
|
||||
</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/next.html">next</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited February 19, 2002 4:25 am</body></html>
|
@@ -1,62 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/sort</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>sort</h1><h3>Synopsis
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename Sequence
|
||||
, typename Compare = less<_1,_2>
|
||||
>
|
||||
struct sort
|
||||
{
|
||||
typedef <em>implementation-defined</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Definition
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/sort.hpp">boost/mpl/sort.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default argument </th></tr>
|
||||
<tr><td><code>Param</code></td><td>A model of Concept</td><td>[to do]</td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Members
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Member </th><th> Description </th></tr>
|
||||
<tr><td><code>type</code></td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Example
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
[to do]
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also
|
||||
</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/lower_bound.html">lower_bound</a></code>, <code><a href="../Reference/upper_bound.html">upper_bound</a></code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited February 19, 2002 4:22 am</body></html>
|
@@ -1,62 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Reference/unique</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>unique</h1><h3>Synopsis
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
template<
|
||||
typename Sequence
|
||||
, typename Predicate = is_same<_1,_2>
|
||||
>
|
||||
struct unique
|
||||
{
|
||||
typedef <em>implementation-defined</em> type;
|
||||
};
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Description
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Definition
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
#include "<a href="../../../../../\boost/mpl/unique.hpp">boost/mpl/unique.hpp</a>"
|
||||
</pre>
|
||||
<p>
|
||||
<h3>Parameters
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Parameter </th><th> Requirement </th><th> Description </th><th> Default argument </th></tr>
|
||||
<tr><td><code>Param</code></td><td>A model of Concept</td><td>[to do]</td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Members
|
||||
</h3>
|
||||
<table border="1">
|
||||
<tr><th> Member </th><th> Description </th></tr>
|
||||
<tr><td><code>type</code></td><td>[to do] </td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<h3>Complexity
|
||||
</h3>
|
||||
<p>
|
||||
[to do]
|
||||
<p>
|
||||
<h3>Example
|
||||
</h3>
|
||||
<p>
|
||||
<pre>
|
||||
[to do]
|
||||
</pre>
|
||||
<p>
|
||||
<h3>See also
|
||||
</h3>
|
||||
<p>
|
||||
<a href="../Algorithms.html">Algorithms</a>, <code><a href="../Reference/erase.html">erase</a></code>, <code>erase_if</code>
|
||||
<p><hr>
|
||||
<a href="../Table_of_Content.html">Table of Content</a> | <a href="../Reference.html">Reference</a><br>Last edited February 19, 2002 4:15 am</body></html>
|
@@ -1,14 +0,0 @@
|
||||
<!doctype html public "-//ietf//dtd html//en">
|
||||
<html><head><title>boost::mpl::Table of Content</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>Table of Content</h1><ol>
|
||||
<li><a href="./Sequences.html">Sequences</a>
|
||||
<li><a href="./Iterators.html">Iterators</a>
|
||||
<li><a href="./Algorithms.html">Algorithms</a>
|
||||
<li><a href="./Metafunctions.html">Metafunctions</a>
|
||||
<li><a href="./Categorized_index.html">Categorized index</a>
|
||||
<li><a href="./Acknowledgements.html">Acknowledgements</a>
|
||||
</ol>
|
||||
<p><hr>
|
||||
<a href="./Table_of_Content.html">Table of Content</a><br>Last edited July 17, 2002 10:15 am</body></html>
|
Reference in New Issue
Block a user