[boost-doc-zh] r361 committed - 更正 function 库的几个 xml 文件

  • From: boost-doc-zh@xxxxxxxxxxxxxx
  • To: boost-doc-zh-notify@xxxxxxxxxxxxx
  • Date: Mon, 04 Jan 2010 06:07:20 +0000

Revision: 361
Author: alai04
Date: Sun Jan  3 22:06:06 2010
Log: 更正 function 库的几个 xml 文件
http://code.google.com/p/boost-doc-zh/source/detail?r=361

Modified:
 /trunk/libs/function/doc/faq.xml
 /trunk/libs/function/doc/function.xml
 /trunk/libs/function/doc/history.xml
 /trunk/libs/function/doc/tutorial.xml

=======================================
--- /trunk/libs/function/doc/faq.xml    Sun Jan  3 19:32:44 2010
+++ /trunk/libs/function/doc/faq.xml    Sun Jan  3 22:06:06 2010
@@ -121,7 +121,7 @@
       <libraryname>Signals</libraryname> library has a way around
       this.<sbr/>
       另一种选择方案是把负担放到要使用 <code>operator==</code> 的用户身上,
- 例如,通过提供一个他们可以特化的 <code>is_equality_comparable<code> traits。 + 例如,通过提供一个他们可以特化的 <code>is_equality_comparable</code> traits。 这是一个可用的方案,但实际上是很危险的,因为忘记特化这个 traits 会导 致由 <classname>boost::function</classname> 的 <code>operator==</code> 抛 出的意想不到的异常。 这在本质上否定了 <code>operator==</code> 在它最期望的上下文(多目标回 调)中的可用性。
=======================================
--- /trunk/libs/function/doc/function.xml       Sun Jan  3 19:32:44 2010
+++ /trunk/libs/function/doc/function.xml       Sun Jan  3 22:06:06 2010
@@ -41,7 +41,7 @@
   <title>Boost.Function</title>

   <section id="function.intro">
-    <title>Introduction</title>
+    <title>Introduction 简介</title>

<para>The Boost.Function library contains a family of class templates that
     are function object wrappers. The notion is similar to a generalized
=======================================
--- /trunk/libs/function/doc/history.xml        Sun Jan  3 19:32:44 2010
+++ /trunk/libs/function/doc/history.xml        Sun Jan  3 22:06:06 2010
@@ -135,7 +135,7 @@
   parameter.<sbr/>
   <computeroutput>boost::function</computeroutput> 类模板的语法发生了变化。
老的语法,比如 <computeroutput>boost::function&lt;int, float, double, std::string&gt;</computeroutput>
-  被改变成更自然的语法 boost::function<int (float, double, std::string)>,
+ 被改变成更自然的语法 <computeroutput>boost::function&lt;int (float, double, std::string)&gt;</computeroutput>,
   这里所有的返回和参数类型被编码到一个单独的函数类型参数中。
任何其它模板参数(比如 <computeroutput>Allocator</computeroutput>)跟在这 个单独参数之后。</para>

=======================================
--- /trunk/libs/function/doc/tutorial.xml       Sun Jan  3 19:32:44 2010
+++ /trunk/libs/function/doc/tutorial.xml       Sun Jan  3 22:06:06 2010
@@ -10,7 +10,7 @@
   "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd";>
 <section xmlns:xi="http://www.w3.org/2001/XInclude"; id="function.tutorial"
last-revision="$Date: 2009-07-12 12:13:35 -0400 (Sun, 12 Jul 2009) $">
-<title>Tutorial</title>
+<title>Tutorial 指南</title>

 <using-namespace name="boost"/>

Other related posts:

  • » [boost-doc-zh] r361 committed - 更正 function 库的几个 xml 文件 - boost-doc-zh