Add support for "fancy" pointers to promise and packaged_task.
authorEric Fiselier <eric@efcs.ca>
Thu, 23 Oct 2014 06:24:45 +0000 (06:24 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 23 Oct 2014 06:24:45 +0000 (06:24 +0000)
commit83fb578e4e6f0a8c095f6e4ed0ccd7439a41c7cc
treeeeb3a3f631b8d2417a03e72799e0dab5c81ba60a
parent2ee0e9e6ee1dd2d86a2f4d4ea6bbfa5577ffe982
Add support for "fancy" pointers to promise and packaged_task.

Summary:
This patch is very closely related to D4859. Please see http://reviews.llvm.org/D4859 for more information.

This patch adds support for "fancy" pointers and allocators to promise and packaged_task. The changes made to support this are exactly the same as in D4859.

Test Plan: "fancy" pointer tests were added to each constructor affected by the change.

Reviewers: danalbert, mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4862

llvm-svn: 220471
libcxx/include/future
libcxx/test/thread/futures/futures.promise/alloc_ctor.pass.cpp
libcxx/test/thread/futures/futures.tas/futures.task.members/ctor_func_alloc.pass.cpp