mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 02:43:58 +00:00
Merge pull request #21 from Lastique/feature/fix_noexcept_if_trailing_paren
Fix double trailing parenthesis after `noexcept(cond)`
This commit is contained in:
commit
2fccdae6be
@ -32,7 +32,7 @@
|
||||
<method name="const_method" cv="const"><type>void</type></method>
|
||||
<method name="volatile_method" cv="volatile"><type>void</type></method>
|
||||
<method name="trad_noexcept" cv="noexcept"><type>void</type></method>
|
||||
<method name="trad_noexcept_if" cv="noexcept(a==b &&(c||d)))"><type>void</type></method>
|
||||
<method name="trad_noexcept_if" cv="noexcept(a==b &&(c||d))"><type>void</type></method>
|
||||
<method name="boost_noexcept" cv="noexcept"><type>void</type></method>
|
||||
<method name="boost_noexcept_if" cv="noexcept(condition)"><type>void</type></method>
|
||||
<method name="trad_constexpr" cv="constexpr"><type>void</type></method>
|
||||
|
@ -1156,7 +1156,7 @@
|
||||
<xsl:when test="string-length($trailing)">
|
||||
<xsl:value-of select="concat(
|
||||
'noexcept(',
|
||||
substring($condition, 1, string-length($condition) - string-length($trailing)),
|
||||
substring($condition, 1, string-length($condition) - string-length($trailing) - 1),
|
||||
') ')" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
0
xsl/sections.xsl
Executable file → Normal file
0
xsl/sections.xsl
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user