Jean-Marc Lasgouttes wrote:
>>> What's the code you try to get working?
>>
>> look at the Peter's patch in next message:
>> +LyXErr & toStream(LyXErr & l, T t)
>>
>> but now instead of toStream... i would like to write it as operator<<.
>
> Write the operator<< template, and then declare each specialization like
> LyXErr & operator <<(LyXErr & l, decstring);
>
> Templates have to be instanciated somewhere, I think.

unless there was some stupid typo, thats what i have tried and failed.
pavel

Reply via email to