Cut moveFromTry
[folly.git] / folly / Try.h
index 9a6ef5fce9e83247c91f598b4ce8269ccf117972..91d160e90fdcc2d1982af235a004c2d1aa028b3b 100644 (file)
@@ -478,23 +478,6 @@ class Try<void> {
   exception_wrapper e_;
 };
 
-/*
- * Extracts value from try and returns it. Throws if try contained an exception.
- *
- * @param t Try to extract value from
- *
- * @returns value contained in t
- */
-template <typename T>
-T moveFromTry(Try<T>& t);
-
-/*
- * Throws if try contained an exception.
- *
- * @param t Try to move from
- */
-void moveFromTry(Try<void>& t);
-
 /*
  * @param f a function to execute and capture the result of (value or exception)
  *