4-way overloads for SemiFuture::value
authorYedidya Feldblum <yfeldblum@fb.com>
Mon, 16 Oct 2017 17:56:48 +0000 (10:56 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 16 Oct 2017 18:05:52 +0000 (11:05 -0700)
commit943408f56211217a90ebaeec87af88f7969be87a
tree2841bc3b03ee60282f9a3f301e766d8c6802e724
parent4e2b0bb9a93dfd83b9dd74899463c2da5b33ab54
4-way overloads for SemiFuture::value

Summary:
[Folly] 4-way overloads for `SemiFuture::value`.

Overload on the receiver reference category and `const`-qualification, deriving the return type reference category and `const`-qualification. Like `Optional`, `Try`, etc.

Differential Revision: D6062006

fbshipit-source-id: d7396cd4d4bb62e99445d5f61cb360898fa1c3f3
folly/futures/Future-inl.h
folly/futures/Future.h
folly/futures/test/SemiFutureTest.cpp