Fix Expected stack overflow
Summary: Fix https://github.com/facebook/folly/issues/1111 by calling `assign()` directly. All `ExpectedStorage::assign()` implementations eventually call `doEmplaceAssign()` which uses SFINAE to assign, and if that fails emplace. Therefore, they only need `std::is_constructible`. Reviewed By: yfeldblum Differential Revision: D15756301 fbshipit-source-id: e7759128c13344ed6e3d58d6ea143fd68af8121b
Showing
Please register or sign in to comment