search for: ownsthing

Displaying 2 results from an estimated 2 matches for "ownsthing".

2014 Sep 25
2
[LLVMdev] New type of smart pointer for LLVM
...shared) or several layers up the call stack through which raw pointers have been passed (eg: build something, pass it through a few APIs, underlying thing 'wants' to take ownership, but it will be constructed/destroyed before this API returns - so we hack around it either by having a "OwnsThing" flag in the underlying thing, or having a "takeThing" we hope we call before the underlying thing dies and destroys the thing)). We're dealing with types that have raw pointer + bool indicating ownership members or worse, types which take ownership but we lie to about giving th...
2014 Sep 25
2
[LLVMdev] New type of smart pointer for LLVM
On Wed, Sep 24, 2014 at 7:50 PM, Justin Bogner <mail at justinbogner.com> wrote: > Anton Yartsev <anton.yartsev at gmail.com> writes: > > Hello everyone, > > > > I bring to discussion the necessity/design of a new type of smart > pointer. > > r215176 and r217791 rise the problem, D5443 is devoted to the solution. > > r215176 applies several