mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-06 04:31:09 +02:00
Remove unary/binary_function from examples/documentation
They are being removed from the standard in C++17, and were never really required.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
|
||||
//[case_insensitive_functions
|
||||
struct iequal_to
|
||||
: std::binary_function<std::string, std::string, bool>
|
||||
{
|
||||
bool operator()(std::string const& x,
|
||||
std::string const& y) const
|
||||
@@ -20,7 +19,6 @@
|
||||
};
|
||||
|
||||
struct ihash
|
||||
: std::unary_function<std::string, std::size_t>
|
||||
{
|
||||
std::size_t operator()(std::string const& x) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user