1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>pop_front</title> 5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.2"> 8<link rel="up" href="../metafunctions.html" title="Metafunctions"> 9<link rel="prev" href="pop_back.html" title="pop_back"> 10<link rel="next" href="push_back.html" title="push_back"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="pop_back.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push_back.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h5 class="title"> 27<a name="fusion.algorithm.transformation.metafunctions.pop_front"></a><a class="link" href="pop_front.html" title="pop_front">pop_front</a> 28</h5></div></div></div> 29<h6> 30<a name="fusion.algorithm.transformation.metafunctions.pop_front.h0"></a> 31 <span class="phrase"><a name="fusion.algorithm.transformation.metafunctions.pop_front.description"></a></span><a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.description">Description</a> 32 </h6> 33<p> 34 Returns the result type of <a class="link" href="../functions/pop_front.html" title="pop_front"><code class="computeroutput"><span class="identifier">pop_front</span></code></a>, given the input sequence 35 type. 36 </p> 37<h6> 38<a name="fusion.algorithm.transformation.metafunctions.pop_front.h1"></a> 39 <span class="phrase"><a name="fusion.algorithm.transformation.metafunctions.pop_front.synopsis"></a></span><a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.synopsis">Synopsis</a> 40 </h6> 41<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> 42 <span class="keyword">typename</span> <span class="identifier">Sequence</span> 43 <span class="special">></span> 44<span class="keyword">struct</span> <span class="identifier">pop_front</span> 45<span class="special">{</span> 46 <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> 47<span class="special">};</span> 48</pre> 49<div class="table"> 50<a name="fusion.algorithm.transformation.metafunctions.pop_front.t0"></a><p class="title"><b>Table 1.102. Parameters</b></p> 51<div class="table-contents"><table class="table" summary="Parameters"> 52<colgroup> 53<col> 54<col> 55<col> 56</colgroup> 57<thead><tr> 58<th> 59 <p> 60 Parameter 61 </p> 62 </th> 63<th> 64 <p> 65 Requirement 66 </p> 67 </th> 68<th> 69 <p> 70 Description 71 </p> 72 </th> 73</tr></thead> 74<tbody><tr> 75<td> 76 <p> 77 <code class="computeroutput"><span class="identifier">Sequence</span></code> 78 </p> 79 </td> 80<td> 81 <p> 82 A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward 83 Sequence</a> 84 </p> 85 </td> 86<td> 87 <p> 88 Operation's argument 89 </p> 90 </td> 91</tr></tbody> 92</table></div> 93</div> 94<br class="table-break"><h6> 95<a name="fusion.algorithm.transformation.metafunctions.pop_front.h2"></a> 96 <span class="phrase"><a name="fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics"></a></span><a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics">Expression 97 Semantics</a> 98 </h6> 99<pre class="programlisting"><a class="link" href="pop_front.html" title="pop_front"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_front</span></code></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span> 100</pre> 101<p> 102 <span class="bold"><strong>Return type</strong></span>: 103 </p> 104<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 105<li class="listitem"> 106 A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward 107 Sequence</a>. 108 </li> 109<li class="listitem"> 110 A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative 111 Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code> 112 implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative 113 Sequence</a> model. 114 </li> 115</ul></div> 116<p> 117 <span class="bold"><strong>Semantics</strong></span>: Returns a sequence with all 118 the elements of <code class="computeroutput"><span class="identifier">Sequence</span></code> 119 except the first element. 120 </p> 121<h6> 122<a name="fusion.algorithm.transformation.metafunctions.pop_front.h3"></a> 123 <span class="phrase"><a name="fusion.algorithm.transformation.metafunctions.pop_front.complexity"></a></span><a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.complexity">Complexity</a> 124 </h6> 125<p> 126 Constant. 127 </p> 128<h6> 129<a name="fusion.algorithm.transformation.metafunctions.pop_front.h4"></a> 130 <span class="phrase"><a name="fusion.algorithm.transformation.metafunctions.pop_front.header"></a></span><a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.header">Header</a> 131 </h6> 132<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">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> 133<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">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> 134</pre> 135</div> 136<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 137<td align="left"></td> 138<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011, 2012 Joel de Guzman, 139 Dan Marsden, Tobias Schwinger<p> 140 Distributed under the Boost Software License, Version 1.0. (See accompanying 141 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>) 142 </p> 143</div></td> 144</tr></table> 145<hr> 146<div class="spirit-nav"> 147<a accesskey="p" href="pop_back.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push_back.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 148</div> 149</body> 150</html> 151