Expression SFINAE issue in base.h
authorElizabeth Smith <elizabeths@fb.com>
Thu, 10 Jul 2014 21:54:28 +0000 (14:54 -0700)
committerTudor Bosman <tudorb@fb.com>
Mon, 14 Jul 2014 19:13:53 +0000 (12:13 -0700)
commit1f1ba9066520a04ee392cd26c2252be12585f40b
tree1a7e56851f7bde269d551b4bbd27cf808baab49a
parentd7f1adb631b9b6c989eeef31aae04c4472adf370
Expression SFINAE issue in base.h

Summary:
MSVC 14 is still broken with expression sfinae - and the things that break are often strange
Moving this out into two expr templates solves the compilation issue

Test Plan: fbconfig -r folly && fbmake runtests

Reviewed By: tjackson@fb.com

FB internal diff: D1413297
folly/gen/Base.h