projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A well-known instance of folly::Unit
[folly.git]
/
folly
/
futures
/
Unit.h
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 {};
+
}