Github issue #643 remove use of deprecated standard templates
Remove use of std::unary_function and std::binary_function which were
deprecated in C+11.
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: I9e4624f570b475595c9e28bdf185ddcc2ddceb2f
diff --git a/src/backends/reference/workloads/Exp.hpp b/src/backends/reference/workloads/Exp.hpp
index 1a04672..9440bf6 100644
--- a/src/backends/reference/workloads/Exp.hpp
+++ b/src/backends/reference/workloads/Exp.hpp
@@ -9,9 +9,12 @@
namespace armnn
{
- template<typename T>
-struct exp : public std::unary_function<T, T>
+template<typename T>
+struct exp
{
+ typedef T result_type;
+ typedef T argument_type;
+
T
operator () (const T& inputData) const
{