This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Avoid unary_function.
ClosedPublic

Authored by STL_MSFT on Apr 12 2018, 3:17 PM.

Details

Summary

[libcxx] [test] Avoid unary_function.

Replace unary_function inheritance (which was never required,
even in C++98) with argument_type and result_type typedefs.
This increases portability, as unary_function was removed in C++17
and MSVC has implemented that removal.

Diff Detail

Event Timeline

STL_MSFT created this revision.Apr 12 2018, 3:17 PM
EricWF accepted this revision.Apr 12 2018, 3:31 PM

I think this would have been a good candidate for post-commit review.

This revision is now accepted and ready to land.Apr 12 2018, 3:31 PM
STL_MSFT closed this revision.Apr 12 2018, 5:07 PM