[folly] Enable support of applyTuple for const tuples
authorAlexander Shaposhnikov <alexshap@fb.com>
Tue, 28 Jul 2015 23:35:54 +0000 (16:35 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Wed, 29 Jul 2015 00:22:22 +0000 (17:22 -0700)
commit46bb1ed780a2ce03d856a98d4e2061d7f13b6f8c
treef7e79d9d997c36bdb5f0f026d8cebc63bc7175d7
parentc3e2a7120f9e8336b87cb56224f2849c13b4ff0a
[folly] Enable support of applyTuple for const tuples

Summary: This diff fixes the helper template ReturnValue to enable using of applyTuple with
constant refs.

Reviewed By: @ot, @ddrcoder

Differential Revision: D2284733
folly/ApplyTuple.h
folly/test/ApplyTupleTest.cpp