[boost-doc-zh] r413 committed - [No log message]

  • From: boost-doc-zh@xxxxxxxxxxxxxx
  • To: boost-doc-zh-notify@xxxxxxxxxxxxx
  • Date: Sat, 12 Jun 2010 03:09:15 +0000

Revision: 413
Author: alai04
Date: Fri Jun 11 20:08:36 2010
Log: [No log message]
http://code.google.com/p/boost-doc-zh/source/detail?r=413

Modified:
 /trunk/libs/functional/factory/doc/html/index.html

=======================================
--- /trunk/libs/functional/factory/doc/html/index.html Thu Jun 10 08:23:31 2010 +++ /trunk/libs/functional/factory/doc/html/index.html Fri Jun 11 20:08:36 2010
@@ -50,8 +50,8 @@
The template <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">factory</span></code> lets you encapsulate a <code class="computeroutput"><span class="keyword">new</span></code> expression as a function object, <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">value_factory</span></code> encapsulates a constructor invocation without <code class="computeroutput"><span class="keyword">new</span></code>.<br> &#27169;&#26495; <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">factory</span></code>&#21487;&#20196;&#20320;&#20197;&#20989;&#25968;&#23545;&#35937;&#65288;&#20223;&#20989;&#25968;&#65289;&#24418;&#24335;&#26469;&#23553;&#35013; - <code class="computeroutput"><span class="keyword">new</span></code> &#34920;&#36798;&#24335;, &#32780; <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">value_factory</span></code> - &#21017;&#21487;&#20197;&#38750; <code class="computeroutput"><span class="keyword">new</span></code> &#30340;&#24418;&#24335;&#35843;&#29992;&#26500;&#36896;&#20989;&#25968; + <code class="computeroutput"><span class="keyword">new</span></code> &#34920;&#36798;&#24335;&#65292; &#32780; <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">value_factory</span></code> + &#21017;&#21487;&#20197;&#38750; <code class="computeroutput"><span class="keyword">new</span></code> &#30340;&#24418;&#24335;&#35843;&#29992;&#26500;&#36896;&#20989;&#25968;&#12290;
     </p>
<pre class="programlisting"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">factory</span></code><span class="special">&lt;</span><span class="identifier">T</span><span class="special">*&gt;()(</span><span class="identifier">arg1</span><span class="special">,</span><span class="identifier">arg2</span><span class="special">,</span><span class="identifier">arg3</span><span class="special">)</span>
 <span class="comment">// same as new T(arg1,arg2,arg3)
@@ -59,7 +59,7 @@
 </span>
<code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">value_factory</span></code><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;()(</span><span class="identifier">arg1</span><span class="special">,</span><span class="identifier">arg2</span><span class="special">,</span><span class="identifier">arg3</span><span class="special">)</span>
 <span class="comment">// same as T(arg1,arg2,arg3)
-</span><span class="comment">//&#22914;&#21516;&#35843;&#29992; T(arg1,arg2,arg3) +</span><span class="comment">// &#22914;&#21516;&#35843;&#29992; T(arg1,arg2,arg3)
 </span></pre>
 <p>
For technical reasons the arguments to the function objects have to be LValues.
@@ -134,9 +134,8 @@
This approach has several drawbacks. The most obvious one is that there is lots of boilerplate code. In other words there is too much code to express a rather simple intention. We could use templates to get rid of some of it - but the approach remains inflexible: <br> &#20197;&#19978;&#23454;&#29616;&#26041;&#27861;&#26377;&#20960;&#20010;&#32570;&#28857;&#65292;&#26368;&#26126;&#26174;&#32773;&#23601;&#26159;&#26377;&#22826;&#22810;&#37325;&#22797;&#27515;&#26495;&#30340;&#20195;&#30721;&#12290;&#25442;&#35328;&#20043;&#65292;&#22914;&#27492;&#22810;&#30340; - &#20195;&#30721;&#19982;&#35201;&#23454;&#29616;&#30340;&#31616;&#21333;&#30446;&#30340;&#30456;&#27604;&#26377;&#20123;&#23567;&#39064;&#22823;&#20570;&#12290;&#20351;&#29992;&#27169;&#26495;&#21487;&#36991;&#20813;&#20197;&#19978;&#26576;&#20123;&#32570;&#28857;&#65292;
-      &#20294;&#20173;&#19981;&#22815;&#28789;&#27963;&#65306;
+ but the approach remains inflexible: <br> &#20197;&#19978;&#23454;&#29616;&#26041;&#27861;&#26377;&#20960;&#20010;&#32570;&#28857;&#65292;&#26368;&#26126;&#26174;&#32773;&#23601;&#26159;&#26377;&#22826;&#22810;&#37325;&#22797;&#27515;&#26495;&#30340;&#20195;&#30721;&#12290;&#25442;&#35328;&#20043;&#65292; + &#22914;&#27492;&#22810;&#30340;&#20195;&#30721;&#19982;&#35201;&#23454;&#29616;&#30340;&#31616;&#21333;&#30446;&#30340;&#30456;&#27604;&#26377;&#20123;&#23567;&#39064;&#22823;&#20570;&#12290;&#20351;&#29992;&#27169;&#26495;&#21487;&#36991;&#20813;&#20197;&#19978;&#26576;&#20123;&#32570;&#28857;&#65292;&#20294;&#20173;&#19981;&#22815;&#28789;&#27963;&#65306;
     </p>
<pre class="programlisting"><span class="identifier">o</span> <span class="identifier">We</span> <span class="identifier">may</span> <span class="identifier">want</span> <span class="identifier">a</span> <span class="identifier">factory</span> <span class="identifier">that</span> <span class="identifier">takes</span> <span class="identifier">some</span> <span class="identifier">arguments</span> <span class="identifier">that</span> <span class="identifier">are</span> <span class="identifier">forwarded</span> <span class="identifier">to</span> <span class="identifier">the</span> <span class="identifier">constructor</span><span class="special">,</span>
@@ -154,16 +153,16 @@
&#21487;&#33021;&#38656;&#35201;&#24037;&#21378;&#25509;&#21463;&#21442;&#25968;&#21518;&#33021;&#36716;&#21457;&#65288;&#38750;&#25335;&#36125;&#35821;&#20041;&#65289;&#33267;&#26500;&#36896;&#20989;&#25968;&#65292;
       </li>
 <li>
- &#38656;&#35201;&#24037;&#21378;&#33021;&#22815;&#20135;&#29983; smart pointer &#65288;&#26234;&#33021;&#25351;&#38024;&#65289;, + &#38656;&#35201;&#24037;&#21378;&#33021;&#22815;&#20135;&#29983; smart pointer &#65288;&#26234;&#33021;&#25351;&#38024;&#65289;&#65292;
       </li>
 <li>
- &#38656;&#35201;&#65288;&#24037;&#21378;&#20855;&#22791; &#65289;&#22810;&#20010;&#25104;&#21592;&#20989;&#25968;&#20197;&#20135;&#29983;&#19981;&#21516;&#31867;&#22411;&#30340;&#23545;&#35937;, + &#38656;&#35201;&#65288;&#24037;&#21378;&#20855;&#22791; &#65289;&#22810;&#20010;&#25104;&#21592;&#20989;&#25968;&#20197;&#20135;&#29983;&#19981;&#21516;&#31867;&#22411;&#30340;&#23545;&#35937;&#65292;
       </li>
 <li>
- &#23545;&#20110;&#20135;&#29983;&#30340;&#23545;&#35937;&#32780;&#35328;&#65292;&#29978;&#33267;&#22810;&#24577;&#22522;&#31867;&#20063;&#21487;&#33021;&#19981;&#26159;&#24517;&#39035;&#30340;, + &#23545;&#20110;&#20135;&#29983;&#30340;&#23545;&#35937;&#32780;&#35328;&#65292;&#29978;&#33267;&#22810;&#24577;&#22522;&#31867;&#20063;&#21487;&#33021;&#19981;&#26159;&#24517;&#39035;&#30340;&#65292;
       </li>
 <li>
- &#25105;&#20204;&#23558;&#20250;&#30475;&#21040;&#65292;&#24037;&#21378;&#23436;&#20840;&#19981;&#38656;&#35201;&#19968;&#20010;&#20844;&#20849;&#30340;&#22522;&#31867;, + &#25105;&#20204;&#23558;&#20250;&#30475;&#21040;&#65292;&#24037;&#21378;&#23436;&#20840;&#19981;&#38656;&#35201;&#19968;&#20010;&#20844;&#20849;&#30340;&#22522;&#31867;&#65292;
       </li>
 <li>
&#25152;&#38656;&#30340;&#20165;&#20165;&#26159;&#35843;&#29992;&#26500;&#36896;&#20989;&#25968;&#65292;&#33021;&#22815;&#22312;&#26632;&#19978;&#26500;&#36896;&#32780;&#38750;&#35843;&#29992;
@@ -179,15 +178,14 @@
requiring a high percentage of boilerplate code with pure Object Oriented methodology) become implementable with just few code lines and without extra classes. <br> &#32463;&#39564;&#21578;&#35785;&#25105;&#20204;&#65292;&#20351;&#29992;&#20989;&#25968;&#23545;&#35937;&#65288;&#20223;&#20989;&#25968;&#65289;&#21644; Boost &#27867;&#22411;&#32452;&#20214;&#32452;&#21512;&#26469;&#23454;&#29616;&#22238;&#35843;&#26426;&#21046;&#30340;&#35774;&#35745;&#27169;&#24335;&#65292; - &#26080;&#38656;&#39069;&#22806;&#30340;&#31867;&#65292;&#23525;&#23525;&#25968;&#34892;&#21363;&#21487;&#23436;&#12290;&#30456;&#27604;&#20043;&#19979;&#21516;&#26679;&#30340;&#21151;&#33021;&#22312;&#32431;&#38754;&#21521;&#23545;&#35937;&#26041;&#27861;&#23454;&#29616;&#20013;&#36890;&#24120;&#38656;&#35201;&#22823;&#37327;
-      &#30340;&#21574;&#26495;&#20195;&#30721;&#12290;
+ &#26080;&#38656;&#39069;&#22806;&#30340;&#31867;&#65292;&#23525;&#23525;&#25968;&#34892;&#21363;&#21487;&#23436;&#12290;&#30456;&#27604;&#20043;&#19979;&#21516;&#26679;&#30340;&#21151;&#33021;&#22312;&#32431;&#38754;&#21521;&#23545;&#35937;&#26041;&#27861;&#23454;&#29616;&#20013;&#36890;&#24120;&#38656;&#35201;&#22823;&#37327;&#30340;&#21574;&#26495;&#20195;&#30721;&#12290;
     </p>
 <p>
Factories are callback mechanisms for constructors, so we provide two class templates, <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">value_factory</span></code> and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">factory</span></code>, that encasulate object construction via direct application of the constructor and the <code class="computeroutput"><span class="keyword">new</span></code> operator, respectively. - <br> &#24037;&#21378;&#21363;&#26159;&#23545;&#26500;&#36896;&#20989;&#25968;&#30340;&#19968;&#31181;&#22238;&#35843;&#26426;&#21046;&#65292;&#23545;&#24212;&#20110;&#27492;&#26412;&#24211;&#25552;&#20379;&#20102;&#20004;&#20010;&#31867;&#27169;&#26495;, + <br> &#24037;&#21378;&#21363;&#26159;&#23545;&#26500;&#36896;&#20989;&#25968;&#30340;&#19968;&#31181;&#22238;&#35843;&#26426;&#21046;&#65292;&#23545;&#24212;&#20110;&#27492;&#26412;&#24211;&#25552;&#20379;&#20102;&#20004;&#20010;&#31867;&#27169;&#26495;&#65292; <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">value_factory</span></code> &#21644; <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">factory</span></code>&#65292;&#23545;&#24212;&#23553;&#35013;&#20102;&#30452;&#25509;&#20351;&#29992;&#26500;&#36896;&#20989;&#25968;&#21644; <code class="computeroutput"><span class="keyword">new</span></code> &#25805;&#20316;&#31526;&#23545;&#23545;&#35937;&#30340;&#26500;&#36896;&#12290;
     </p>
@@ -288,9 +286,10 @@
we have used compile time polymorphism for the factory. If we want to erase the type of the factory and thus allow polymorphism at run time, we can use <a href="http://www.boost.org/doc/html/function.html"; target="_top">Boost.Function</a> - to do so. The first example can be rewritten as follows.<br> &#23613;&#31649;&#21069;&#20363;&#20013;&#25105;&#20204;&#24314;&#31435;&#20102;&#22810;&#24577;&#30340;&#23545;&#35937;&#65292;&#20294;&#20173;&#22312;&#24037;&#21378;&#20013;&#20351;&#29992;&#20102;&#32534;&#35793;&#26399;&#22810;&#24577;&#12290;&#22914;&#26524;&#24076;&#26395;&#22312;&#24037;&#21378;&#20013; - &#38544;&#34255;&#20855;&#20307;&#31867;&#22411;&#32780;&#36798;&#21040;&#36816;&#34892;&#26399;&#22810;&#24577;&#65292;&#21017;&#21487;&#20351;&#29992; <a href="http://www.boost.org/doc/html/function.html"; target="_top">Boost.Function</a> - &#26469;&#23436;&#25104;&#12290;&#21069;&#20363;&#21487;&#37325;&#20889;&#22914;&#19979;&#12290; + to do so. The first example can be rewritten as follows.<br> &#23613;&#31649;&#21069;&#20363;&#20013;&#25105;&#20204;&#24314;&#31435;&#20102;&#22810;&#24577;&#30340;&#23545;&#35937;&#65292;&#20294;&#20173;&#22312;&#24037;&#21378;&#20013;&#20351;&#29992;&#20102;&#32534;&#35793;&#26399;&#22810;&#24577;&#12290; + &#22914;&#26524;&#24076;&#26395;&#22312;&#24037;&#21378;&#20013;&#38544;&#34255;&#20855;&#20307;&#31867;&#22411;&#32780;&#36798;&#21040;&#36816;&#34892;&#26399;&#22810;&#24577;&#65292;&#21017;&#21487;&#20351;&#29992; + <a href="http://www.boost.org/doc/html/function.html"; target="_top">Boost.Function</a> + &#26469;&#23436;&#25104;&#12290; &#21069;&#20363;&#21487;&#37325;&#20889;&#22914;&#19979;&#12290;
     </p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">function</span><span class="special">&lt;</span> <span class="identifier">an_abstract_class</span><span class="special">*()</span> <span class="special">&gt;</span> <span class="identifier">a_factory</span><span class="special">;</span>

@@ -333,8 +332,7 @@
<a class="link" href="index.html#boost_functional_factory.reference.value_factory.description____________">Description&#65288;&#27010;&#36848;&#65289;</a>
       </h5>
 <p>
- Function object template that invokes the constructor of the type <code class="computeroutput"><span class="identifier">T</span></code>.<br> &#35843;&#29992;&#31867;&#22411; <code class="computeroutput"><span class="identifier">T</span></code> - &#26500;&#36896;&#20989;&#25968;&#30340;&#20989;&#25968;&#23545;&#35937;&#27169;&#26495;&#12290; + Function object template that invokes the constructor of the type <code class="computeroutput"><span class="identifier">T</span></code>.<br> &#29992;&#20110;&#35843;&#29992;&#31867;&#22411; <code class="computeroutput"><span class="identifier">T</span></code> &#26500;&#36896;&#20989;&#25968;&#30340;&#20989;&#25968;&#23545;&#35937;&#27169;&#26495;&#12290;
       </p>
<a name="boost_functional_factory.reference.value_factory.header_______________"></a><h5>
 <a name="id4860149"></a>
@@ -342,10 +340,9 @@
       </h5>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">functional</span><span class="special">/</span><span class="identifier">value_factory</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
 </pre>
-<a name="boost_functional_factory.reference.value_factory._synopsis_synopsis____________"></a><h5> +<a name="boost_functional_factory.reference.value_factory.synopsis____________"></a><h5>
 <a name="id4860219"></a>
- <a class="link" href="index.html#boost_functional_factory.reference.value_factory._synopsis_synopsis____________">:synopsis
-        Synopsis&#65288;&#25688;&#35201;&#65289;</a>
+ <a class="link" href="index.html#boost_functional_factory.reference.value_factory.synopsis____________">Synopsis&#65288;&#25688;&#35201;&#65289;</a>
       </h5>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span>
 <span class="special">{</span>
@@ -378,7 +375,7 @@
 </dl>
 </div>
<a name="boost_functional_factory.reference.value_factory.expression_semantics_____________________"></a><h5>
-<a name="id4860496"></a>
+<a name="id4860494"></a>
<a class="link" href="index.html#boost_functional_factory.reference.value_factory.expression_semantics_____________________">Expression Semantics&#65288;&#34920;&#36798;&#24335;&#35821;&#20041;&#65289;</a>
       </h5>
@@ -449,14 +446,14 @@
 <td>
                 <p>
is the type <code class="computeroutput"><span class="identifier">T</span></code>. - <br> <code class="computeroutput"><span class="identifier">T</span></code>&#30340;&#31867;&#22411; + <br> <code class="computeroutput"><span class="identifier">T</span></code>&#30340;&#31867;&#22411;&#12290;
                 </p>
               </td>
 </tr>
 </tbody>
 </table></div>
<a name="boost_functional_factory.reference.value_factory.limits____________"></a><h5>
-<a name="id4860834"></a>
+<a name="id4860833"></a>
<a class="link" href="index.html#boost_functional_factory.reference.value_factory.limits____________">Limits&#65288;&#38480;&#21046;&#65289;</a>
       </h5>
 <p>
@@ -470,7 +467,7 @@
<a name="boost_functional_factory.reference.factory"></a><a class="link" href="index.html#boost_functional_factory.reference.factory" title="factory">factory</a>
 </h3></div></div></div>
<a name="boost_functional_factory.reference.factory.description____________"></a><h5>
-<a name="id4860882"></a>
+<a name="id4860881"></a>
<a class="link" href="index.html#boost_functional_factory.reference.factory.description____________">Description&#65288;&#27010;&#36848;&#65289;</a>
       </h5>
 <p>
@@ -489,19 +486,19 @@
         (thus it must be a __smart<span class="underline">pointer</span>_
that provides a suitable constructor, such as <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm"; target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>).<br> &#33509;&#32473;&#23450;&#20102; <span class="underline">_allocator</span>_ &#65288;&#20998;&#37197;&#22120;&#65289;&#21442;&#25968;&#65292;&#21017;&#20854;&#20316;&#20026; - <code class="computeroutput"><span class="keyword">new</span></code> &#25805;&#20316;&#31526;&#26500;&#24314;&#23545;&#35937;&#26102;&#20998;&#37197;&#12289;&#21450;&#20854;&#23601;&#22320;&#20998;&#37197;&#24418;&#24335; - &#30340;&#20869;&#23384;&#31649;&#29702;&#20043;&#29992;&#12290;&#19968;&#20010;&#24102;&#26377; Allocator &#65288;&#20998;&#37197;&#22120;&#65289;&#25335;&#36125;&#24182;&#29992;&#20110;&#35843;&#29992;&#26512;&#26500;&#20989;&#25968;&#12289;&#22238;&#25910;&#20869;&#23384;&#30340;&#20989;&#25968;&#23545;&#35937;&#23558; - &#20316;&#20026;&#31532;&#20108;&#20010;&#21442;&#25968;&#20256;&#36882;&#32473; <code class="computeroutput"><span class="identifier">Pointer</span></code> - &#31867;&#30340;&#26500;&#36896;&#20989;&#25968;&#65288;&#35201;&#27714;&#19968;&#20010; __smart<span class="underline">pointer</span>_ - &#65288;&#26234;&#33021;&#25351;&#38024;&#65289;&#24517;&#39035;&#26377; &#31526;&#21512;&#35201;&#27714;&#30340;&#26500;&#36896;&#20989;&#25968;&#65292;&#27604;&#22914; <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm"; target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>&#65289;&#12290; + <code class="computeroutput"><span class="keyword">new</span></code> &#25805;&#20316;&#31526;&#26500;&#24314;&#23545;&#35937;&#26102;&#20998;&#37197;&#12289; + &#21450;&#20854;&#23601;&#22320;&#20998;&#37197;&#24418;&#24335;&#30340;&#20869;&#23384;&#31649;&#29702;&#20043;&#29992;&#12290;&#19968;&#20010;&#24102;&#26377; Allocator &#65288;&#20998;&#37197;&#22120;&#65289;&#25335;&#36125;&#24182;&#29992;&#20110;&#35843;&#29992;&#26512;&#26500;&#20989;&#25968;&#12289; + &#22238;&#25910;&#20869;&#23384;&#30340;&#20989;&#25968;&#23545;&#35937;&#23558;&#20316;&#20026;&#31532;&#20108;&#20010;&#21442;&#25968;&#20256;&#36882;&#32473; <code class="computeroutput"><span class="identifier">Pointer</span></code> &#31867;&#30340;&#26500;&#36896;&#20989;&#25968; &#65288;&#35201;&#27714;&#19968;&#20010; + __smart<span class="underline">pointer</span>_ &#65288;&#26234;&#33021;&#25351;&#38024;&#65289;&#24517;&#39035;&#26377;&#31526;&#21512;&#35201;&#27714;&#30340;&#26500;&#36896;&#20989;&#25968;&#65292;&#27604;&#22914; + <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm"; target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>&#65289;&#12290;
       </p>
 <p>
If a third template argument is <code class="computeroutput"><span class="identifier">factory_passes_alloc_to_smart_pointer</span></code>, the allocator itself is used for the third constructor argument of <code class="computeroutput"><span class="identifier">Pointer</span></code> (<a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm"; target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a> then uses the allocator to manage the memory of its seperately allocated reference counter).<br> &#33509;&#32473;&#23450;&#20102; <code class="computeroutput"><span class="identifier">factory_passes_alloc_to_smart_pointer</span></code> - &#20316;&#20026;&#31532;&#19977;&#20010;&#27169;&#26495;&#21442;&#25968;&#65292;&#21017; allocator&#65288;&#20998;&#37197;&#22120;&#65289;&#26412;&#36523;&#23558;&#20316;&#20026;&#31532;&#19977;&#20010;&#21442;&#25968;&#20256;&#36882;&#32473; - <code class="computeroutput"><span class="identifier">Pointer</span></code> &#31867;&#65288;<a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm"; target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a> &#23558;&#20351;&#29992;&#27492; allocator&#65288;&#20998;&#37197;&#22120;&#65289;&#29992;&#20110;&#20854;&#36827;&#34892;&#24341;&#29992;&#35745;&#25968;&#22120;&#30340;&#29420;&#31435;&#20998;&#37197;&#30340;&#20869;&#23384;&#30340;&#31649;&#29702;&#65289;&#12290; + &#20316;&#20026;&#31532;&#19977;&#20010;&#27169;&#26495;&#21442;&#25968;&#65288;&#39044;&#23450;&#20041;&#30340;&#19968;&#20010;&#26522;&#20030;&#65289;&#65292; &#21017;allocator&#65288;&#20998;&#37197;&#22120;&#65289;&#26412;&#36523;&#23558;&#20316;&#20026;&#31532;&#19977;&#20010;&#21442;&#25968;&#20256;&#36882;&#32473; + <code class="computeroutput"><span class="identifier">Pointer</span></code> &#31867;&#65288;<a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm"; target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a> &#23558;&#20351;&#29992;&#27492; allocator&#65288;&#20998;&#37197;&#22120;&#65289;&#29992;&#20854;&#36827;&#34892;&#23545;&#24341;&#29992;&#35745;&#25968;&#22120;&#30340;&#29420;&#31435;&#20998;&#37197;&#30340;&#20869;&#23384;&#30340;&#31649;&#29702;&#65289;&#12290;
       </p>
<a name="boost_functional_factory.reference.factory.header_______________"></a><h5>
 <a name="id4861212"></a>

Other related posts:

  • » [boost-doc-zh] r413 committed - [No log message] - boost-doc-zh