Imported Upstream version 1.63.0
[platform/upstream/boost.git] / doc / html / boost / mpi / allocator_voi_idp901888016.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5 <title>Class allocator&lt;void&gt;</title>
6 <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
7 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8 <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9 <link rel="up" href="../../mpi/reference.html#header.boost.mpi.allocator_hpp" title="Header &lt;boost/mpi/allocator.hpp&gt;">
10 <link rel="prev" href="allocator/rebind.html" title="Struct template rebind">
11 <link rel="next" href="allocator_voi_idp901888016/rebind.html" title="Struct template rebind">
12 </head>
13 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14 <table cellpadding="2" width="100%"><tr>
15 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
16 <td align="center"><a href="../../../../index.html">Home</a></td>
17 <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
18 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20 <td align="center"><a href="../../../../more/index.htm">More</a></td>
21 </tr></table>
22 <hr>
23 <div class="spirit-nav">
24 <a accesskey="p" href="allocator/rebind.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../mpi/reference.html#header.boost.mpi.allocator_hpp"><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="allocator_voi_idp901888016/rebind.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
25 </div>
26 <div class="refentry">
27 <a name="boost.mpi.allocator_voi_idp901888016"></a><div class="titlepage"></div>
28 <div class="refnamediv">
29 <h2><span class="refentrytitle">Class allocator&lt;void&gt;</span></h2>
30 <p>boost::mpi::allocator&lt;void&gt; &#8212; Allocator specialization for <code class="computeroutput">void</code> value types. </p>
31 </div>
32 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
33 <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="../../mpi/reference.html#header.boost.mpi.allocator_hpp" title="Header &lt;boost/mpi/allocator.hpp&gt;">boost/mpi/allocator.hpp</a>&gt;
34
35 </span>
36 <span class="keyword">class</span> <a class="link" href="allocator_voi_idp901888016.html" title="Class allocator&lt;void&gt;">allocator</a><span class="special">&lt;</span><span class="keyword">void</span><span class="special">&gt;</span> <span class="special">{</span>
37 <span class="keyword">public</span><span class="special">:</span>
38   <span class="comment">// types</span>
39   <span class="keyword">typedef</span> <span class="keyword">void</span> <span class="special">*</span>       <a name="boost.mpi.allocator_voi_idp901888016.pointer"></a><span class="identifier">pointer</span><span class="special">;</span>      
40   <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">void</span> <span class="special">*</span> <a name="boost.mpi.allocator_voi_idp901888016.const_pointer"></a><span class="identifier">const_pointer</span><span class="special">;</span>
41   <span class="keyword">typedef</span> <span class="keyword">void</span>         <a name="boost.mpi.allocator_voi_idp901888016.value_type"></a><span class="identifier">value_type</span><span class="special">;</span>   
42
43   <span class="comment">// member classes/structs/unions</span>
44   <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> U<span class="special">&gt;</span> 
45   <span class="keyword">struct</span> <a class="link" href="allocator_voi_idp901888016/rebind.html" title="Struct template rebind">rebind</a> <span class="special">{</span>
46     <span class="comment">// types</span>
47     <span class="keyword">typedef</span> <a class="link" href="allocator.html" title="Class template allocator">allocator</a><span class="special">&lt;</span> <span class="identifier">U</span> <span class="special">&gt;</span> <a class="link" href="allocator_voi_idp901888016/rebind.html#boost.mpi.allocator_voi_idp901888016.rebind.other"><span class="identifier">other</span></a><span class="special">;</span>
48   <span class="special">}</span><span class="special">;</span>
49 <span class="special">}</span><span class="special">;</span></pre></div>
50 <div class="refsect1">
51 <a name="idp512030992"></a><h2>Description</h2>
52 <p>The <code class="computeroutput">void</code> specialization of <code class="computeroutput">allocator</code> is useful only for rebinding to another, different value type. </p>
53 </div>
54 </div>
55 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
56 <td align="left"></td>
57 <td align="right"><div class="copyright-footer">Copyright &#169; 2005-2007 Douglas Gregor,
58       Matthias Troyer, Trustees of Indiana University<p>
59         Distributed under the Boost Software License, Version 1.0. (See accompanying
60         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">
61         http://www.boost.org/LICENSE_1_0.txt </a>)
62       </p>
63 </div></td>
64 </tr></table>
65 <hr>
66 <div class="spirit-nav">
67 <a accesskey="p" href="allocator/rebind.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../mpi/reference.html#header.boost.mpi.allocator_hpp"><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="allocator_voi_idp901888016/rebind.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
68 </div>
69 </body>
70 </html>