Imported Upstream version 1.71.0
[platform/upstream/boost.git] / libs / algorithm / doc / html / boost / algorithm / copy_unt_idm45056135586976.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Function template copy_until</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="The Boost Algorithm Library">
8 <link rel="up" href="../../header/boost/algorithm/cxx11/copy_if_hpp.html" title="Header &lt;boost/algorithm/cxx11/copy_if.hpp&gt;">
9 <link rel="prev" href="copy_whi_idm45056135594640.html" title="Function template copy_while">
10 <link rel="next" href="copy_unt_idm45056135578208.html" title="Function template copy_until">
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="copy_whi_idm45056135594640.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/algorithm/cxx11/copy_if_hpp.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="copy_unt_idm45056135578208.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="refentry">
26 <a name="boost.algorithm.copy_unt_idm45056135586976"></a><div class="titlepage"></div>
27 <div class="refnamediv">
28 <h2><span class="refentrytitle">Function template copy_until</span></h2>
29 <p>boost::algorithm::copy_until &#8212; Copies all the elements at the start of the input range that do not satisfy the predicate to the output range. </p>
30 </div>
31 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
32 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/algorithm/cxx11/copy_if_hpp.html" title="Header &lt;boost/algorithm/cxx11/copy_if.hpp&gt;">boost/algorithm/cxx11/copy_if.hpp</a>&gt;
33
34 </span>
35 <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIterator<span class="special">,</span> <span class="keyword">typename</span> OutputIterator<span class="special">,</span> <span class="keyword">typename</span> Predicate<span class="special">&gt;</span> 
36   <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special">&lt;</span> <span class="identifier">InputIterator</span><span class="special">,</span> <span class="identifier">OutputIterator</span> <span class="special">&gt;</span> 
37   <span class="identifier">copy_until</span><span class="special">(</span><span class="identifier">InputIterator</span> first<span class="special">,</span> <span class="identifier">InputIterator</span> last<span class="special">,</span> <span class="identifier">OutputIterator</span> result<span class="special">,</span> 
38              <span class="identifier">Predicate</span> p<span class="special">)</span><span class="special">;</span></pre></div>
39 <div class="refsect1">
40 <a name="idm45150197005168"></a><h2>Description</h2>
41 <p>
42
43 </p>
44 <div class="variablelist"><table border="0" class="variablelist compact">
45 <colgroup>
46 <col align="left" valign="top">
47 <col>
48 </colgroup>
49 <tbody>
50 <tr>
51 <td><p><span class="term">Parameters:</span></p></td>
52 <td><div class="variablelist"><table border="0" class="variablelist compact">
53 <colgroup>
54 <col align="left" valign="top">
55 <col>
56 </colgroup>
57 <tbody>
58 <tr>
59 <td><p><span class="term"><code class="computeroutput">first</code></span></p></td>
60 <td><p>The start of the input sequence </p></td>
61 </tr>
62 <tr>
63 <td><p><span class="term"><code class="computeroutput">last</code></span></p></td>
64 <td><p>One past the end of the input sequence </p></td>
65 </tr>
66 <tr>
67 <td><p><span class="term"><code class="computeroutput">p</code></span></p></td>
68 <td><p>A predicate for testing the elements of the range </p></td>
69 </tr>
70 <tr>
71 <td><p><span class="term"><code class="computeroutput">result</code></span></p></td>
72 <td><p>An output iterator to write the results into </p></td>
73 </tr>
74 </tbody>
75 </table></div></td>
76 </tr>
77 <tr>
78 <td><p><span class="term">Returns:</span></p></td>
79 <td><p>The updated output iterator</p></td>
80 </tr>
81 </tbody>
82 </table></div>
83 </div>
84 </div>
85 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
86 <td align="left"></td>
87 <td align="right"><div class="copyright-footer">Copyright &#169; 2010-2012 Marshall Clow<p>
88         Distributed under the Boost Software License, Version 1.0. (See accompanying
89         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>)
90       </p>
91 </div></td>
92 </tr></table>
93 <hr>
94 <div class="spirit-nav">
95 <a accesskey="p" href="copy_whi_idm45056135594640.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/algorithm/cxx11/copy_if_hpp.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="copy_unt_idm45056135578208.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
96 </div>
97 </body>
98 </html>