Switch future's Core<T> to std::is_nothrow_constructible
authorChristopher Dykes <cdykes@fb.com>
Fri, 14 Jul 2017 22:17:31 +0000 (15:17 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Jul 2017 22:27:22 +0000 (15:27 -0700)
commit616842014ae7ca8f6ada6083087eb661b0313a56
tree1b295ea2fdf8299c8d4056142c721d597b38e905
parent112ec1357b9a05be29973ccab46a1487d886d18e
Switch future's Core<T> to std::is_nothrow_constructible

Summary:
MSVC has issues with the way it was written, so just use the standard version instead.

Upstream bug report: https://developercommunity.visualstudio.com/content/problem/80433/incorrect-error-c2462-cannot-define-a-type-in-a-ne.html

Reviewed By: yfeldblum

Differential Revision: D5427029

fbshipit-source-id: ae3737175d5b8e9738ed6b9573412d1d566b0e1c
folly/futures/detail/Core.h