[boost-doc-zh commit] r241 - 校对 flyweight 文档

  • From: codesite-noreply@xxxxxxxxxx
  • To: boost-doc-zh-notify@xxxxxxxxxxxxx
  • Date: Mon, 13 Apr 2009 02:18:56 +0000

Author: alai04
Date: Sun Apr 12 19:17:59 2009
New Revision: 241

Modified:
   trunk/libs/flyweight/doc/future_work.html
   trunk/libs/flyweight/doc/tests.html

Log:
校对 flyweight 文档

Modified: trunk/libs/flyweight/doc/future_work.html
==============================================================================
--- trunk/libs/flyweight/doc/future_work.html   (original)
+++ trunk/libs/flyweight/doc/future_work.html   Sun Apr 12 19:17:59 2009
@@ -1,12 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN">
-<html>
-<head>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN">
+<html><head>

   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


-  <title>Boost.Flyweight Documentation - Future work</title>
-  <link rel="stylesheet" href="style.css" type="text/css">
+
+ <title>Boost.Flyweight Documentation - Future work</title><link rel="stylesheet" href="style.css" type="text/css">

   <link rel="start" href="examples.html">

@@ -14,8 +13,7 @@

   <link rel="up" href="index.html">

-  <link rel="next" href="release_notes.html">
-</head>
+  <link rel="next" href="release_notes.html"></head>

 <body>

@@ -101,8 +99,8 @@
 type of <i>rvalue references</i> to be included in the next revision of the
 C++ standard. Boost.Flyweight will take advantage of this feature as
 compilers begin to provide it.</p>
-<p>当构造一个<code>flyweight&lt;T&gt;</code>对象时,会产生类型 <code>T</code>的对象的拷贝,在移动这个<code></code>值到内部工厂的过程中。所 谓的<i><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2027.html#Perfect_Forwarding";><i>perfect -forwarding</i></a></i>,过就是说,在移动的过程中不产生临时拷贝,下一个C++标 准的版本中引入的<i>rvalue references</i>新类型会完美的解决这个问题。当编译器 开始支持的时候Boost.Flyweight将会使用这个特性。 +<p>当构造一个<code>flyweight&lt;T&gt;</code>对象时,在移动这个 <code></code>值到内部工厂的过程中,会产生类型<code>T</code>的对象的临时拷 贝。所谓的<i><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2027.html#Perfect_Forwarding";><i>perfect +forwarding</i></a></i>,就是说,在移动的过程中不产生临时拷贝,在下一个C++标 准的版本中引入的一种新类型,<i>右值引用rvalue references</i>,可以完美的解决 这个问题。当编译器开始支持的时候,Boost.Flyweight将会使用这个特性。
 </p>


@@ -122,7 +120,7 @@
 of this idea. Before committing to this library extension it is
 necessary to do a profiling study to determine whether read/write
 locking actually improves performance.</p>
-<p>flyweight模式的性质暗示绝大多数对flyweight内部工厂的访问不会引起新的插 入,于是flyweight可以被看作是只读的。 这暗示着为了方便起见,可以使用一种基于 读/写锁的锁定策略,就像<a href="../../../doc/html/thread/synchronization.html#thread.synchronization.mutex_concepts.shared_lockable">Boost.Thread</a>里 提供的那种。实现一个锁定策略还要求扩展<a href="reference/factories.html#factory">工厂</a>的概念以支持纯粹的查找操作。 Tim Blechmann已经提供了这个想法的初级<a href="http://lists.boost.org/Archives/boost/2008/07/139414.php";>实现</a>。在 提交这个库扩展之前,有必要进行一个性能分析研究以确定读/写锁是不是真的提高了 性能。 +<p>flyweight模式的性质暗示了绝大多数对flyweight内部工厂的访问不会引起新的插 入动作,于是flyweight可以被看作是只读的。 这暗示着为了方便起见,可以使用一种 基于读/写锁的锁定策略,就像<a href="../../../doc/html/thread/synchronization.html#thread.synchronization.mutex_concepts.shared_lockable">Boost.Thread</a>里 提供的那种。实现一个锁定策略还要求扩展<a href="reference/factories.html#factory">工厂</a>的概念以支持纯粹的查找操作。 Tim Blechmann已经提供了这个想法的初级<a href="http://lists.boost.org/Archives/boost/2008/07/139414.php";>实现</a>。在 提交这个库扩展之前,有必要进行一个性能分析研究以确定读/写锁是不是真的提高了 性能。
 </p>


@@ -166,7 +164,7 @@
 <p>Revised September 1st 2008</p>


-<p>&copy; Copyright 2006-2008 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz.
+<p>© Copyright 2006-2008 Joaquín M López Muñoz.
 Distributed under the Boost Software
License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt"> LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt";>
@@ -174,5 +172,4 @@
 </p>


-</body>
-</html>
+</body></html>
\ No newline at end of file

Modified: trunk/libs/flyweight/doc/tests.html
==============================================================================
--- trunk/libs/flyweight/doc/tests.html (original)
+++ trunk/libs/flyweight/doc/tests.html Sun Apr 12 19:17:59 2009
@@ -14,7 +14,6 @@
   <link rel="up" href="index.html">

   <link rel="next" href="future_work.html"></head>
-
 <body>

<h1><img src="../../../boost.png" alt="Boost logo" align="middle" height="86" width="277">Boost.Flyweight Tests</h1>
@@ -67,7 +66,8 @@
<td><a href="../test/test_assoc_cont_factory.cpp"><code>test_assoc_cont_factory.cpp</code></a></td>

<td><a href="tutorial/configuration.html#assoc_container_factory"><code>assoc_container_factory</code></a>
-    factory specifier.</td>
+ factory specifier.<br><a href="tutorial/configuration.html#assoc_container_factory"><code>assoc_container_factory</code></a>
+    工厂描述符。</td>

     </tr>

@@ -75,7 +75,7 @@

   <td><a href="../test/test_basic.cpp"><code>test_basic.cpp</code></a></td>

-  <td>Exercises the default components of <code>flyweight</code>.</td>
+ <td>Exercises the default components of <code>flyweight</code>.<br>测试 <code>flyweight</code> 的缺省组件。</td>

     </tr>

@@ -83,7 +83,7 @@

<td><a href="../test/test_custom_factory.cpp"><code>test_custom_factory.cpp</code></a></td>

-  <td>Creates a user-defined factory class and specifier.</td>
+ <td>Creates a user-defined factory class and specifier.<br>创建一个用户自 定义工厂和描述符。</td>

     </tr>

@@ -92,7 +92,7 @@
   <td><a href="../test/test_init.cpp"><code>test_init.cpp</code></a></td>

   <td>Boost.Flyweight <a href="tutorial/technical.html#static_init">static
-    data initialization</a> facilities.</td>
+ data initialization</a> facilities.<br>Boost.Flyweight <a href="tutorial/technical.html#static_init">静态数据初始化</a> 设施。</td>

     </tr>

@@ -102,7 +102,7 @@

<a href="../test/intermod_holder_dll.cpp"><code>intermod_holder_dll.cpp</code></a></td>

- <td>Exercises <a href="tutorial/configuration.html#intermodule_holder"><code>intermodule_holder</code></a>.</td> + <td>Exercises <a href="tutorial/configuration.html#intermodule_holder"><code>intermodule_holder</code></a>.<br>测 试 <a href="tutorial/configuration.html#intermodule_holder"><code>intermodule_holder</code></a>.</td>

     </tr>

@@ -111,7 +111,7 @@
<td><a href="../test/test_multictor.cpp"><code>test_multictor.cpp</code></a></td>

<td>Tests <code>flyweight</code> <a href="reference/flyweight.html#constructors">multiple
-    argument constructors</a>.</td>
+ argument constructors</a>.<br>测试 <code>flyweight</code> 的<a href="reference/flyweight.html#constructors">多参数构造函数</a>。</td>

     </tr>

@@ -119,7 +119,7 @@

<td><a href="../test/test_no_locking.cpp"><code>test_no_locking.cpp</code></a></td>

- <td><a href="tutorial/configuration.html#no_locking"><code>no_locking</code></a> policy.</td> + <td><a href="tutorial/configuration.html#no_locking"><code>no_locking</code></a> policy.<br><a href="tutorial/configuration.html#no_locking"><code>no_locking</code></a> 策 略。</td>

     </tr>

@@ -127,7 +127,7 @@

<td><a href="../test/test_no_tracking.cpp"><code>test_no_tracking.cpp</code></a></td>

- <td><a href="tutorial/configuration.html#no_tracking"><code>no_tracking</code></a> policy.</td> + <td><a href="tutorial/configuration.html#no_tracking"><code>no_tracking</code></a> policy.<br><a href="tutorial/configuration.html#no_tracking"><code>no_tracking</code></a> 策略。</td>

     </tr>

@@ -136,7 +136,8 @@
<td><a href="../test/test_set_factory.cpp"><code>test_set_factory.cpp</code></a></td>

<td><a href="tutorial/configuration.html#set_factory"><code>set_factory</code></a>
-    factory specifier.</td>
+ factory specifier.<br><a href="tutorial/configuration.html#set_factory"><code>set_factory</code></a>
+    工厂描述符。</td>

     </tr>

Other related posts:

  • » [boost-doc-zh commit] r241 - 校对 flyweight 文档 - codesite-noreply