Given that these are almost exclusively called with &lt;sal_uInt16&gt;, I would simply un-template&#39;ize the functions, substituting sal_uInt16 for prefix.<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For instantiations with prefix != sal_uInt16, I count four uses of read_lenPrefixed_uInt8s_ToOString&lt;sal_uInt8&gt;, two of read_lenPrefixed_uInt8s_ToOUString&lt;sal_uInt8&gt;, and one use of read_lenPrefixed_uInt8s_ToOString&lt;sal_uInt32&gt;.  All of them are reads, for which the functions in question are rather trivial, anyway.  I would just explicitly outline them at the call sites (or, if there are multiple calls from a single .cxx, add a local helper function).<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><div><br> Thanks for the suggestion Stephan, that&#39;s what I&#39;ll do. :-)<br></div>