mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 19:54:46 +02:00
Render template parameters
This commit is contained in:
@@ -168,7 +168,8 @@ class CxxHandler(BaseHandler):
|
|||||||
text += '>\n'
|
text += '>\n'
|
||||||
text += d.type + ' ' + d.name
|
text += d.type + ' ' + d.name
|
||||||
if d.params is not None:
|
if d.params is not None:
|
||||||
params = ', '.join([p.type + ' ' + p.name for p in d.params])
|
params = ', '.join(
|
||||||
|
[f'{p.type.replace("<", "<")} {p.name}' for p in d.params])
|
||||||
text += '(' + params + ')'
|
text += '(' + params + ')'
|
||||||
text += ';'
|
text += ';'
|
||||||
text += '</code></pre>\n'
|
text += '</code></pre>\n'
|
||||||
|
Reference in New Issue
Block a user