Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52351 - in branches/release: . libs/unordered/doc tools/boostbook/test/doxygen/boost tools/boostbook/xsl/doxygen
From: daniel_james_at_[hidden]
Date: 2009-04-12 06:54:45


Author: danieljames
Date: 2009-04-12 06:54:44 EDT (Sun, 12 Apr 2009)
New Revision: 52351
URL: http://svn.boost.org/trac/boost/changeset/52351

Log:
Some small documentation fixes for the release.

Merged revisions 52348-52350 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r52348 | danieljames | 2009-04-12 11:50:31 +0100 (Sun, 12 Apr 2009) | 1 line
  
  Use a test file that's actually valid C++.
........
  r52349 | danieljames | 2009-04-12 11:50:43 +0100 (Sun, 12 Apr 2009) | 3 lines
  
  Revert support for static mutable variables.
  
  Of course there's no such thing.
........
  r52350 | danieljames | 2009-04-12 11:50:57 +0100 (Sun, 12 Apr 2009) | 1 line
  
  Note change to operator[] in the unordered release notes.
........

Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/libs/unordered/doc/changes.qbk | 1 +
   branches/release/tools/boostbook/test/doxygen/boost/example.hpp | 15 ++++++---------
   branches/release/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl | 13 +++++--------
   3 files changed, 12 insertions(+), 17 deletions(-)

Modified: branches/release/libs/unordered/doc/changes.qbk
==============================================================================
--- branches/release/libs/unordered/doc/changes.qbk (original)
+++ branches/release/libs/unordered/doc/changes.qbk 2009-04-12 06:54:44 EDT (Sun, 12 Apr 2009)
@@ -68,5 +68,6 @@
   on Visual C++ 2009.
 * Some other minor internal changes to the implementation, tests and
   documentation.
+* Avoid an unnecessary copy in `operator[]`.
 
 [endsect]

Modified: branches/release/tools/boostbook/test/doxygen/boost/example.hpp
==============================================================================
--- branches/release/tools/boostbook/test/doxygen/boost/example.hpp (original)
+++ branches/release/tools/boostbook/test/doxygen/boost/example.hpp 2009-04-12 06:54:44 EDT (Sun, 12 Apr 2009)
@@ -1,15 +1,15 @@
 int global_integer;
 static int global_static_integer;
-const int global_const_integer;
-static const int global_static_const_integer;
+const int global_const_integer = 1;
+static const int global_static_const_integer = 2;
 enum global_enum { enumerator };
 
 namespace example
 {
     int namespace_integer;
     static int namespace_static_integer;
- const int namespace_const_integer;
- static const int namespace_static_const_integer;
+ const int namespace_const_integer = 1;
+ static const int namespace_static_const_integer = 2;
     enum namespace_enum { enumerator };
 
     class example
@@ -19,7 +19,6 @@
         static int static_integer;
         mutable int mutable_integer;
         const int const_integer;
- static mutable int static_mutable_integer;
         static const int static_const_integer;
 
         enum class_enum { enumerator };
@@ -28,19 +27,17 @@
         static int protected_static_integer;
         mutable int protected_mutable_integer;
         const int protected_const_integer;
- static mutable int protected_static_mutable_integer;
         static const int protected_static_const_integer;
 
- enum protected_class_enum { enumerator };
+ enum protected_class_enum { enumerator2 };
     private:
         int private_integer;
         static int private_static_integer;
         mutable int private_mutable_integer;
         const int private_const_integer;
- static mutable int private_static_mutable_integer;
         static const int private_static_const_integer;
 
- enum private_class_enum { enumerator };
+ enum private_class_enum { enumerator3 };
     };
     
     template <typename TypeParameter, int NonTypeParameter,

Modified: branches/release/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl
==============================================================================
--- branches/release/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl (original)
+++ branches/release/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl 2009-04-12 06:54:44 EDT (Sun, 12 Apr 2009)
@@ -1159,14 +1159,11 @@
       </xsl:attribute>
 
       <!-- Specifiers -->
- <xsl:variable name="specifiers">
- <xsl:if test="@static = 'yes'"><xsl:text> static</xsl:text></xsl:if>
- <xsl:if test="@mutable = 'yes'"><xsl:text> mutable</xsl:text></xsl:if>
- </xsl:variable>
- <xsl:if test="normalize-space($specifiers)">
- <xsl:attribute name="specifiers">
- <xsl:value-of select="normalize-space($specifiers)"/>
- </xsl:attribute>
+ <xsl:if test="@static = 'yes'">
+ <xsl:attribute name="specifiers">static</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@mutable = 'yes'">
+ <xsl:attribute name="specifiers">mutable</xsl:attribute>
       </xsl:if>
 
       <type>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk