mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-12 14:40:03 +08:00
Render template parameters
This commit is contained in:
parent
418c5d0949
commit
6180442ed8
@ -168,7 +168,8 @@ class CxxHandler(BaseHandler):
|
||||
text += '>\n'
|
||||
text += d.type + ' ' + d.name
|
||||
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 += ';'
|
||||
text += '</code></pre>\n'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user