X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FUtility.h;h=1969a9644b20e63c9a0e92e5878c6b3df62de375;hb=90ce64f987677e11200729afa6bb9c4b64caf01e;hp=86b338ae128f4f9fd76544c433ebd52e82bfa5e9;hpb=890625b2c781b779f65a835e7c7c610c95f010c0;p=folly.git diff --git a/folly/Utility.h b/folly/Utility.h index 86b338ae..1969a964 100644 --- a/folly/Utility.h +++ b/folly/Utility.h @@ -142,7 +142,7 @@ struct make_seq<0> { template using apply = S0; }; -} +} // namespace utility_detail #if __cpp_lib_integer_sequence || _MSC_VER @@ -310,4 +310,11 @@ class MoveOnly { } // namespace moveonly_ using MoveOnly = moveonly_::MoveOnly; + +/** + * A pithy alias for std::integral_constant. + */ +template +using Bool = std::integral_constant; + } // namespace folly