Re: Proposal for using std::unique_ptr to signal transfer of ownership

2016-03-12 Thread Thorsten Behrens
Markus Mohrhard wrote: > I hope that these are not really controversial [...] > Not at all - to state the obvious (and not let the mail linger unanswered). Cheers, -- Thorsten signature.asc Description: Digital signature ___ LibreOffice mailing list L

Proposal for using std::unique_ptr to signal transfer of ownership

2016-03-11 Thread Markus Mohrhard
Hey, so while looking through some of the current calc memory leaks I noticed that at least some of them are related to our poor API and I noticed that quite a few of the problems can easily be avoided with better API design. For now I would like to propose that we try to use std::unique_ptr in t