X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Ffutures%2FFuture.h;h=87bb0cfe417cfcc735cc39aca9ae2ced9877527d;hp=6c015c27cc7c181115cf9e751e34f9cea06b48ab;hb=8bedb7e1549c4a737d3ad4d7003ab9e195cd9fd9;hpb=991a1d5e52b35c1ced25818ae7681f0cb69c76ba diff --git a/folly/futures/Future.h b/folly/futures/Future.h index 6c015c27..87bb0cfe 100644 --- a/folly/futures/Future.h +++ b/folly/futures/Future.h @@ -1,5 +1,5 @@ /* - * Copyright 2014 Facebook, Inc. + * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,100 +23,22 @@ #include #include -#include -#include +#include +#include +#include #include -#include +#include #include #include -namespace folly { - -template struct Promise; - -namespace detail { - -template struct Core; -template struct VariadicContext; - -template -struct AliasIfVoid { - typedef typename std::conditional< - std::is_same::value, - int, - T>::type type; -}; - - -template -struct IsFuture : std::integral_constant { - typedef T Inner; -}; - -template