projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085c0a8
)
A well-known instance of folly::Unit
author
Yedidya Feldblum
<yfeldblum@fb.com>
Wed, 25 Nov 2015 04:26:15 +0000
(20:26 -0800)
committer
facebook-github-bot-0
<folly-bot@fb.com>
Wed, 25 Nov 2015 05:20:19 +0000
(21:20 -0800)
Summary: [Folly] A well-known instance of `folly::Unit`.
Reviewed By: jsedgwick
Differential Revision:
D2693426
fb-gh-sync-id:
fe595abc852500275a827b4f400cfda7091a55f7
folly/futures/Unit.h
patch
|
blob
|
history
diff --git
a/folly/futures/Unit.h
b/folly/futures/Unit.h
index 521b206bcd150b0a159c097523e6638cf50e8664..bdc70f90c69909c3b13b63fa4ab941a67fb1dd33 100644
(file)
--- a/
folly/futures/Unit.h
+++ b/
folly/futures/Unit.h
@@
-62,4
+62,6
@@
template <class T>
struct is_void_or_unit : public Unit::Lift<T>
{};
+constexpr Unit unit {};
+
}