Expression SFINAE fixes in ApplyTuple
Summary:
MSVC does not support Expression SFINAE
http://stackoverflow.com/questions/
12654067
this is a very nice c++11 feature that makes for some nice clean templating
But of course MSVC can't have nice things - it partially implements this when it feels like it, so some will work and some will need the nonsense
@override-unit-failures
There will be more of these little template helper fixes - they make the code a bit more complex but don't actually change anything when compiled
The accompanying fix in the test also does nothing but work around an MSVC compiler bug where it loses it's mind over the global namespace
Test Plan: fbconfig -r folly && fbmake runtests
Reviewed By: delong.j@fb.com
FB internal diff:
D1312700