Unit::Lift<T>
authorHans Fugal <fugalh@fb.com>
Thu, 30 Apr 2015 22:18:15 +0000 (15:18 -0700)
committerPraveen Kumar Ramakrishnan <praveenr@fb.com>
Tue, 12 May 2015 00:01:44 +0000 (17:01 -0700)
commit0b46bcd5eceaedb51c84bc16f5804481b41cb965
tree6f07de3668bd062b93f4ea2acfdf4ed2e824230b
parent5b531cbb45884ad8a27891cf3170cd0286c3183c
Unit::Lift<T>

Summary: Lift void into the unit monad and pass other types through unscathed.

Test Plan: new unit tests

Reviewed By: yfeldblum@fb.com

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

FB internal diff: D2029785

Signature: t1:2029785:1430333928:ef2fbb2e3d94518a732f6818a06c32481120bd4f
folly/futures/Unit.h
folly/futures/test/UnitTest.cpp