[cfe-dev] Use of Smart Pointers in LLVM Projects
Nico Weber
thakis at chromium.org
Thu Jul 17 17:42:27 PDT 2014
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/cfe-dev/attachments/20140717/9af9a591/attachment.html>
More information about the cfe-dev
mailing list