Boost logo

Boost-Commit :

From: fmhess_at_[hidden]
Date: 2008-05-12 09:59:21


Author: fmhess
Date: 2008-05-12 09:59:20 EDT (Mon, 12 May 2008)
New Revision: 45298
URL: http://svn.boost.org/trac/boost/changeset/45298

Log:
Prevent a class' or namespace's associated free functions
(a "free-function-group" element inside a "class" or "namespace" element)
from reappearing in the synopsis of nested classes or namespaces.
This is a merge of revision 45297 from the boost_docs sandbox.

Text files modified:
   trunk/tools/boostbook/xsl/type.xsl | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/boostbook/xsl/type.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/type.xsl (original)
+++ trunk/tools/boostbook/xsl/type.xsl 2008-05-12 09:59:20 EDT (Mon, 12 May 2008)
@@ -1072,7 +1072,7 @@
           <xsl:with-param name="allow-synopsis-anchors" select="true()"/>
         </xsl:call-template>
         <!-- Associated free functions -->
- <xsl:apply-templates select="ancestor-or-self::*/free-function-group"
+ <xsl:apply-templates select="free-function-group"
           mode="synopsis">
           <xsl:with-param name="indentation" select="$indentation"/>
           <xsl:with-param name="class" select="@name"/>


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