forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
1 parent
b605617c4f
commit
cda74605fc
379 files changed
+28481
-2185
No files matched your search
@@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>empty</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="end.html" title="end">
|
||||
<link rel="next" href="front.html" title="front">
|
||||
@@ -30,8 +38,33 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id451280"></a>
|
||||
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.description">Description</a>
|
||||
=======
|
||||
<a name="id701884"></a>
|
||||
=======
|
||||
<a name="id661560"></a>
|
||||
=======
|
||||
<a name="id653914"></a>
|
||||
=======
|
||||
<a name="id676395"></a>
|
||||
=======
|
||||
<a name="id665056"></a>
|
||||
=======
|
||||
<a name="id661780"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Returns a type convertible to <tt class="computeroutput"><span class="keyword">bool</span></tt>
|
||||
@@ -39,16 +72,66 @@
|
||||
the sequence is empty, else, evaluates to <tt class="computeroutput"><span class="keyword">false</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id451345"></a>
|
||||
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id701924"></a>
|
||||
=======
|
||||
<a name="id661599"></a>
|
||||
=======
|
||||
<a name="id653953"></a>
|
||||
=======
|
||||
<a name="id676434"></a>
|
||||
=======
|
||||
<a name="id665096"></a>
|
||||
=======
|
||||
<a name="id661819"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/empty.html" title="empty"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">empty</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">empty</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id451498"></a>
|
||||
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id702027"></a>
|
||||
=======
|
||||
<a name="id661702"></a>
|
||||
=======
|
||||
<a name="id654056"></a>
|
||||
=======
|
||||
<a name="id676538"></a>
|
||||
=======
|
||||
<a name="id665199"></a>
|
||||
=======
|
||||
<a name="id661922"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@@ -82,8 +165,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id451612"></a>
|
||||
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id702117"></a>
|
||||
=======
|
||||
<a name="id661792"></a>
|
||||
=======
|
||||
<a name="id654146"></a>
|
||||
=======
|
||||
<a name="id676628"></a>
|
||||
=======
|
||||
<a name="id665289"></a>
|
||||
=======
|
||||
<a name="id662012"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">empty</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
|
||||
@@ -96,15 +204,65 @@
|
||||
to <tt class="computeroutput"><span class="keyword">false</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id451723"></a>
|
||||
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.header">Header</a>
|
||||
=======
|
||||
<a name="id702192"></a>
|
||||
=======
|
||||
<a name="id661867"></a>
|
||||
=======
|
||||
<a name="id654221"></a>
|
||||
=======
|
||||
<a name="id676702"></a>
|
||||
=======
|
||||
<a name="id665364"></a>
|
||||
=======
|
||||
<a name="id662087"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id451890"></a>
|
||||
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.example">Example</a>
|
||||
=======
|
||||
<a name="id702307"></a>
|
||||
=======
|
||||
<a name="id661982"></a>
|
||||
=======
|
||||
<a name="id654336"></a>
|
||||
=======
|
||||
<a name="id677978"></a>
|
||||
=======
|
||||
<a name="id667271"></a>
|
||||
=======
|
||||
<a name="id663994"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">empty</span><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="keyword">false</span><span class="special">);</span>
|
||||
@@ -112,7 +270,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
||||
Reference in new issue
Block a user