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.
Differential D21872
[libcxx] [test] Fix unary_function inheritance assumption. STL_MSFT on Jun 29 2016, 4:28 PM. Authored by
Details
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 |