Added rvalue and const rvalue overloads to Try
authorAaryaman Sagar <aary@instagram.com>
Thu, 24 Aug 2017 21:46:17 +0000 (14:46 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 24 Aug 2017 21:52:36 +0000 (14:52 -0700)
commit51647aaa0ac0eaf8364f6dd643e0f615cd256819
tree116bd22f6805f4cf95b90424532a491c70e9668d
parent374d408bcd0283dffd5b0bec78685bc17e567c43
Added rvalue and const rvalue overloads to Try

Summary:
Try was missing some important-ish overloads that help it behave well
in rvalue contexts

Reviewed By: yfeldblum

Differential Revision: D5692021

fbshipit-source-id: c34627b56eb52dceaeb1f00ae930ee3bc6e00306
folly/Try-inl.h
folly/Try.h
folly/test/TryTest.cpp