projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Folly.Poly: a library for creating type-erasing polymorphic wrappers
[folly.git]
/
folly
/
Utility.h
diff --git
a/folly/Utility.h
b/folly/Utility.h
index bb196080c683ca52a4b86b0ac62bcda89983c765..1969a9644b20e63c9a0e92e5878c6b3df62de375 100644
(file)
--- a/
folly/Utility.h
+++ b/
folly/Utility.h
@@
-310,4
+310,11
@@
class MoveOnly {
} // namespace moveonly_
using MoveOnly = moveonly_::MoveOnly;
+
+/**
+ * A pithy alias for std::integral_constant<bool, B>.
+ */
+template <bool B>
+using Bool = std::integral_constant<bool, B>;
+
} // namespace folly