Displaying 3 results from an estimated 3 matches for "deletecontainerpointers".
2014 Jul 18
2
[LLVMdev] [cfe-dev] Use of Smart Pointers in LLVM Projects
...ally OwningPtr
> > was added in r45261.
> > Something in the order of 60 changes across clang and LLVM mention
> > unique_ptr in their subject and migrate various APIs to use unique_ptr
> > for ownership. Many of which remove uses of explicit delete or helpers
> > like DeleteContainerPointers (and removing explicit dtors in many of
> > those cases).
> >
> > Are people OK with/prefer the use of owning smart pointers in APIs?
> > Are there places where you've found them to be too noisy/burdensome
> > and would rather use raw pointers or some other abstrac...
2014 Jul 17
8
[LLVMdev] Use of Smart Pointers in LLVM Projects
...ting with r202609 and ending with r211259). Originally OwningPtr
was added in r45261.
Something in the order of 60 changes across clang and LLVM mention
unique_ptr in their subject and migrate various APIs to use unique_ptr
for ownership. Many of which remove uses of explicit delete or helpers
like DeleteContainerPointers (and removing explicit dtors in many of
those cases).
Are people OK with/prefer the use of owning smart pointers in APIs?
Are there places where you've found them to be too noisy/burdensome
and would rather use raw pointers or some other abstraction? Would you
prefer pre-commit review of such...
2014 Jul 18
2
[LLVMdev] [cfe-dev] Use of Smart Pointers in LLVM Projects
...n r45261.
> >> > Something in the order of 60 changes across clang and LLVM mention
> >> > unique_ptr in their subject and migrate various APIs to use unique_ptr
> >> > for ownership. Many of which remove uses of explicit delete or helpers
> >> > like DeleteContainerPointers (and removing explicit dtors in many of
> >> > those cases).
> >> >
> >> > Are people OK with/prefer the use of owning smart pointers in APIs?
> >> > Are there places where you've found them to be too noisy/burdensome
> >> > and would...