Switch away from things that are removed in C++17
authorChristopher Dykes <cdykes@fb.com>
Thu, 14 Jul 2016 18:08:40 +0000 (11:08 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 14 Jul 2016 18:09:10 +0000 (11:09 -0700)
commit048c596476a712233b4e63e276b4fc41a85bf04f
tree1876ca8d563ef03b3bab8576ce28992f97f328d0
parenta5f4fbe06a9962f5f230960fb418cb2d5ecb88b2
Switch away from things that are removed in C++17

Summary:
That currently includes `std::binary_function`, `std::unary_function`, and `std::random_shuffle`.
`std::{unary|binary}_function<T{, T2}, Ret>` changes to `std::function<Ret(T{, T2})>`.
`std::random_shuffle` has no immediate equivalent, but `std::shuffle` while passing a specific RNG achieves the same effect.

Reviewed By: yfeldblum

Differential Revision: D3506405

fbshipit-source-id: cdefc698a841eca762174eddd8ce636e2d8d26ef
folly/sorted_vector_types.h
folly/test/ConcurrentSkipListBenchmark.cpp
folly/test/sorted_vector_test.cpp