This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Fix unary_function inheritance assumption.
ClosedPublic

Authored by STL_MSFT on Jun 29 2016, 4:28 PM.

Details

Summary

Fix unary_function inheritance assumption.

C++11 didn't require std::hash to derive from std::unary_function. The portable thing to do is to inspect the typedefs, as the other half of this test was already doing.

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 62304.Jun 29 2016, 4:28 PM
STL_MSFT retitled this revision from to [libcxx] [test] Fix unary_function inheritance assumption..
STL_MSFT updated this object.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Jun 29 2016, 9:34 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jun 29 2016, 9:34 PM
EricWF closed this revision.Jun 29 2016, 9:35 PM

r274205.