commit | 8a869d0f4261ea782df1644d09718b92d3a8defe | [log] [tgz] |
---|---|---|
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | Thu Apr 12 23:56:10 2018 +0000 |
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | Thu Apr 12 23:56:10 2018 +0000 |
tree | 3fdd0ee0e5f5f3a7059b7ac1e8e22b1a1dd4f876 | |
parent | f18ee8f76566fb14f3f5638050d7e449204b2dc1 [diff] |
[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. Fixes D45596. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@329974 91177308-0d34-0410-b5e6-96231b3b80d8