[LLVMdev] [cfe-dev] Use of Smart Pointers in LLVM Projects

Nico Weber
2014-07-18T00:42:27Z

On Thu, Jul 17, 2014 at 4:43 PM, Lang Hames <lhames at gmail.com> wrote:

> Where unique_ptr fits the memory ownership model I'm all for using it.
The
> syntactic overhead is a small price to pay for self-documentation and
> compile-time guarantees.
>

+1. I liked the patches that added unique_ptrs I've seen so far. WebKit
also heavily uses pointer classes (OwnPtr etc) heavily, and I think it
works well there too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20140717/9af9a591/attachment.html>