Hello!
The subjects says it all.
How do I markup a template function prototype like
template<typename ArgumentType> void g( ArgumentType argument )
A solution I tried was
<funcsynopsis>
<funcprototype>
<funcdef>template<typename <replaceable>ArgumentType</replaceable>>
<type>void</type> <function>g</function></funcdef>
<paramdef>
<parameter><replaceable>ArgumentType</replaceable>
<replaceable>argument</replaceable></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
but does that really describe a templated function as docbook was
intended?
And the generated html output by the norman walsh xsl gets ugly if the
line of <funcdef> doesn't fit the browser window .... but that might be
acceptable for a semantic searchable documentation.
Yours sincerely,
Eric Böse-Wolf
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]