unwrapTryTuple only accepted rvalue tuple types
authorAaryaman Sagar <aary@instagram.com>
Thu, 24 Aug 2017 21:42:53 +0000 (14:42 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 24 Aug 2017 21:52:36 +0000 (14:52 -0700)
commit374d408bcd0283dffd5b0bec78685bc17e567c43
tree836eab0e82ad8bae0e84ead4336a6655358723d1
parentde75bdc4d39c3983ff8b1d09c4eddab415bc893b
unwrapTryTuple only accepted rvalue tuple types

Summary:
unwrapTryTuple only accepted rvalue tuple types, this diff fixes that
to work with forwarding reference tuple types.

Also reduces the number of template instantiations

Reviewed By: yfeldblum

Differential Revision: D5682996

fbshipit-source-id: ee6dd2c20d8dfca33e769a98a6ca56fa96c73b72
folly/Makefile.am
folly/Try-inl.h
folly/Try.h
folly/detail/TryDetail.h [deleted file]
folly/test/TryTest.cpp