mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Add support for friend functions defined inline
[SVN r58030]
This commit is contained in:
parent
3ee20c35ad
commit
56a9dc1a1f
@ -723,12 +723,27 @@
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<xsl:when test="@kind='friend'">
|
||||||
|
<xsl:if test="./memberdef/detaileddescription/para or ./memberdef/briefdescription/para">
|
||||||
|
<method-group name="friend functions">
|
||||||
|
<xsl:apply-templates>
|
||||||
|
<xsl:with-param name="in-section" select="true()"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</method-group>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:when>
|
||||||
<xsl:when test="@kind='public-static-attrib' or @kind='public-attrib'">
|
<xsl:when test="@kind='public-static-attrib' or @kind='public-attrib'">
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="@kind='public-type'">
|
<xsl:when test="@kind='public-type'">
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<xsl:when test="@kind='private-type'">
|
||||||
|
<!--skip private members-->
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:when test="@kind='private-static-attrib' or @kind='private-attrib'">
|
||||||
|
<!--skip private members-->
|
||||||
|
</xsl:when>
|
||||||
<xsl:when test="@kind='func'">
|
<xsl:when test="@kind='func'">
|
||||||
<xsl:apply-templates>
|
<xsl:apply-templates>
|
||||||
<xsl:with-param name="in-file" select="$in-file"/>
|
<xsl:with-param name="in-file" select="$in-file"/>
|
||||||
@ -833,6 +848,11 @@
|
|||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<xsl:when test="@kind='friend'">
|
||||||
|
<xsl:if test="./detaileddescription/para or ./briefdescription/para">
|
||||||
|
<xsl:call-template name="method"/>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:when>
|
||||||
<xsl:when test="@kind='enum'">
|
<xsl:when test="@kind='enum'">
|
||||||
<xsl:call-template name="enum">
|
<xsl:call-template name="enum">
|
||||||
<xsl:with-param name="in-file" select="$in-file"/>
|
<xsl:with-param name="in-file" select="$in-file"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user