mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-08 18:33:58 +00:00
Support virtual, static using a hack
[SVN r32755]
This commit is contained in:
parent
84880ec014
commit
aa6f0e65d7
@ -984,8 +984,6 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
||||
<xsl:value-of select="name/text()"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- TBD: virtual and static functions -->
|
||||
|
||||
<!-- CV Qualifiers -->
|
||||
<xsl:if test="not (@const='no' and @volatile='no')">
|
||||
<xsl:attribute name="cv">
|
||||
@ -1002,7 +1000,19 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Return type -->
|
||||
<type><xsl:apply-templates select="type"/></type>
|
||||
<type>
|
||||
|
||||
<!-- Cheat on virtual and static by dropping them into the type -->
|
||||
<xsl:if test="@static='yes'">
|
||||
<xsl:text>static </xsl:text>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@virtual='yes'">
|
||||
<xsl:text>virtual </xsl:text>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:apply-templates select="type"/>
|
||||
</type>
|
||||
|
||||
<xsl:call-template name="function.children"/>
|
||||
</method>
|
||||
|
Loading…
x
Reference in New Issue
Block a user