future (promise): Add constructors for uses-allocator construction from rvalue promise.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 2 Nov 2011 00:53:12 +0000 (00:53 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 2 Nov 2011 00:53:12 +0000 (00:53 +0000)
commit376d7c51ece6f8b39d83001717d66a2741318121
tree62e42f016bd36c3c7d5297f80bd233ae3780f5b9
parent095c8a9466befc23bb15618766ca40032c058145
future (promise): Add constructors for uses-allocator construction from rvalue promise.

* include/std/future (promise): Add constructors for uses-allocator
construction from rvalue promise.
(packaged_task): Implement LWG 2067. Add additional constructors for
uses-allocator construction.
* testsuite/30_threads/packaged_task/cons/3.cc: New.
* testsuite/30_threads/packaged_task/cons/alloc2.cc: New.
* testsuite/30_threads/promise/cons/alloc2.cc: New.

From-SVN: r180757
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future
libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc [new file with mode: 0644]