Converge folly::make_unique to C++14's std::make_unique
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 3 Oct 2015 04:47:38 +0000 (21:47 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Sat, 3 Oct 2015 05:20:19 +0000 (22:20 -0700)
commit62504e55283a9b3072c6eb8f88fd0e67c14414e7
tree75895334729664ad3d4cc67ab9949c0c091cc29b
parent9600063281668a48a8205319b2b8b41346726492
Converge folly::make_unique to C++14's std::make_unique

Summary: [Folly] Converge `folly::make_unique` to C++14's `std::make_unique`.

The primary use-case of ther deleter variety of `folly::make_unique` is `DelayedDestruction`. Let the classes matching this use-case define their own factories.

Reviewed By: @fugalh

Differential Revision: D2495718
folly/Memory.h
folly/io/async/AsyncPipe.h
folly/io/async/HHWheelTimer.h
folly/io/async/test/AsyncPipeTest.cpp
folly/test/MemoryTest.cpp