This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] bind's function call operator isn't guaranteed to SFINAE.
ClosedPublic

Authored by STL_MSFT on Jul 5 2016, 1:46 PM.

Details

Summary

bind's function call operator isn't guaranteed to SFINAE.

There's nothing in the Standard that specifies this, and MSVC's implementation doesn't do it (we explode in a tuple bounds check). For portability, anything expecting the function call operator to vanish should be marked as libcxx-specific, unless and until a Library Issue is voted in saying otherwise.

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 62784.Jul 5 2016, 1:46 PM
STL_MSFT retitled this revision from to [libcxx] [test] bind's function call operator isn't guaranteed to SFINAE..
STL_MSFT updated this object.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Jul 24 2016, 4:13 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jul 24 2016, 4:13 PM
EricWF closed this revision.Jul 24 2016, 4:16 PM

r276576.