On Tue, Dec 29, 2009 at 08:06:19PM +0100, Pavel Sanda wrote: > > * use signal/slot > > * keep lyxerr where it is and subclass it with a version that handles debug > > window too. > > i tried to avoid this because i didn't want to pull any Q* headers into > support/debug.
... > > > > I do not really understand either why we need this STREAM_OPERATOR macro. > > why we need is quite clear - there is xtimes the same code and we dont want to > copy nad paste it. i dont like the macro solution but i failed to produce > template which would be desirable for this. either my c++ skills are lacking > or > it is not possible to instantiate operator templates out of class body - > compiler takes the template without problems but but linker claims not to find > instances needed. and yes this is the most ugly part. maybe our c++ wizard > Andre' have an idea? :) What's the code you try to get working? Andre'