From 1f4a82214560abd7d83cbbe8027be90885e22d88 Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Tue, 24 Nov 2015 20:26:15 -0800 Subject: [PATCH] A well-known instance of folly::Unit Summary: [Folly] A well-known instance of `folly::Unit`. Reviewed By: jsedgwick Differential Revision: D2693426 fb-gh-sync-id: fe595abc852500275a827b4f400cfda7091a55f7 --- folly/futures/Unit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/futures/Unit.h b/folly/futures/Unit.h index 521b206b..bdc70f90 100644 --- a/folly/futures/Unit.h +++ b/folly/futures/Unit.h @@ -62,4 +62,6 @@ template struct is_void_or_unit : public Unit::Lift {}; +constexpr Unit unit {}; + } -- 2.34.1