Angus Leeming wrote:
> So, what is the usage you're worried about and where? Which constructor?

LyXServer(LyXFunc * f, std::string const & pip)
: numclients(0), func(f), pipes(pip, (this), callback) {}

Buffer::Buffer(string const & file, bool readonly)
        : pimpl_(new Impl(*this, file, readonly))

BufferView::BufferView(LyXView * owner, int width, int height)
        : pimpl_(new Pimpl(*this, owner, width, height))
{}

Timeout::Timeout(unsigned int msec, Type t)
        : pimpl_(new qtTimeout(*this)), type(t), timeout_ms(msec)
{}

PreviewLoader::PreviewLoader(Buffer const & b)
        : pimpl_(new Impl(*this, b))
{}

As I understand we have to be sure that the this pointer is not
used, if so all is ok.
Peter




Reply via email to