(Wangle) variadic collect
authorHannes Roth <hannesr@fb.com>
Mon, 8 Jun 2015 20:07:01 +0000 (13:07 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 9 Jun 2015 20:21:25 +0000 (13:21 -0700)
commitdb57efd05b6605784e1a8ed88bb20609352fe927
tree8637959311aeff26835198054b8c8be7e89ababd
parent023eb4f8ff4df08cdd1d7b5f78a99dba7b457471
(Wangle) variadic collect

Summary:
For D2099047 (matthieu) and also for symmetry. Can re-use most of the
code, also refactored it a bit (using an empty base case).

Test Plan:
Run all the tests.

Will add some more before committing.

Reviewed By: jsedgwick@fb.com

Subscribers: folly-diffs@, jsedgwick, yfeldblum, chalfant, matthieu

FB internal diff: D2131515

Signature: t1:2131515:1433776852:544166fbfdfabf6760fd78f87821290e17e6e4a3
folly/futures/Future-inl.h
folly/futures/Future-pre.h
folly/futures/detail/Core.h
folly/futures/helpers.h
folly/futures/test/CollectTest.cpp
folly/futures/test/FutureTest.cpp
folly/futures/test/WindowTest.cpp