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:
Daniel James
2016-11-06 10:19:17 +00:00
parent a7546e298e
commit 3db4654b44
3 changed files with 0 additions and 5 deletions

View File

@@ -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
{