Add missing includes, especially <functional>, to priority.queue/types.pass.cpp.
This is required according to the Standard, and it fixes compiler errors with MSVC (as our headers don't usually drag in std::greater).
Differential D22012
[libcxx] [tests] Add missing includes, especially <functional>, to priority.queue/types.pass.cpp. STL_MSFT on Jul 5 2016, 1:44 PM. Authored by
Details
Add missing includes, especially <functional>, to priority.queue/types.pass.cpp. This is required according to the Standard, and it fixes compiler errors with MSVC (as our headers don't usually drag in std::greater).
Diff Detail |