diff --git a/doc/src_code/dictionary.cpp b/doc/src_code/dictionary.cpp index 1f8ead92..dece3089 100644 --- a/doc/src_code/dictionary.cpp +++ b/doc/src_code/dictionary.cpp @@ -10,7 +10,6 @@ //[case_insensitive_functions struct iequal_to - : std::binary_function { bool operator()(std::string const& x, std::string const& y) const @@ -20,7 +19,6 @@ }; struct ihash - : std::unary_function { std::size_t operator()(std::string const& x) const { diff --git a/doc/src_code/point1.cpp b/doc/src_code/point1.cpp index 0d17c1f5..dd562264 100644 --- a/doc/src_code/point1.cpp +++ b/doc/src_code/point1.cpp @@ -18,7 +18,6 @@ } struct point_hash - : std::unary_function { std::size_t operator()(point const& p) const { diff --git a/examples/case_insensitive.hpp b/examples/case_insensitive.hpp index 0204a221..83a388d8 100644 --- a/examples/case_insensitive.hpp +++ b/examples/case_insensitive.hpp @@ -19,7 +19,6 @@ namespace hash_examples { struct iequal_to - : std::binary_function { iequal_to() {} explicit iequal_to(std::locale const& l) : locale_(l) {} @@ -34,7 +33,6 @@ namespace hash_examples }; struct ihash - : std::unary_function { ihash() {} explicit ihash(std::locale const& l) : locale_(l) {}