Add willEqual to C++ Futures Code
authorMonica Lee <monicalee@fb.com>
Fri, 27 Feb 2015 17:37:25 +0000 (09:37 -0800)
committerAlecs King <int@fb.com>
Tue, 3 Mar 2015 03:30:37 +0000 (19:30 -0800)
commit42ab246273a3c4f63b3645207818d0ea698eadc0
tree9946a14afe57a43e46f7f85714eed43309a1a2f2
parenta0359850fd45080ff0862ca0a11884efb424d7d2
Add willEqual to C++ Futures Code

Summary: Added willEqual function and wrote unit tests for it.

Test Plan: fbconfig --clang folly/futures && fbmake runtests

Reviewed By: hans@fb.com

Subscribers: hannesr, trunkagent, folly-diffs@, jsedgwick, yfeldblum

FB internal diff: D1859840

Tasks: 6166911

Signature: t1:1859840:1424967149:865ee96ab4d3f5dbf17eb371b2ac3ccb5066ac87
folly/futures/Future-inl.h
folly/futures/Future.h
folly/futures/test/FutureTest.cpp