From f44cfa026e32ea0239e40b89f2d05f6c5b9b159f Mon Sep 17 00:00:00 2001 From: jwellbelove Date: Mon, 8 Dec 2014 20:14:16 +0000 Subject: [PATCH] Minor changes --- functional.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/functional.h b/functional.h index 8e6ba0eb..74c2439e 100644 --- a/functional.h +++ b/functional.h @@ -30,7 +30,7 @@ SOFTWARE. #define __ETL_FUNCTIONAL__ ///\defgroup functional functional -///\ingroup Utilities +///\ingroup utilities ///\defgroup reference_wrapper reference_wrapper ///\ingroup functional @@ -58,16 +58,17 @@ namespace etl return *t; } + reference_wrapper& operator = (T value) + { + *t = value; + return *this; + } + T& get() const { return *t; } - T* get_pointer() const - { - return t; - } - private: T* t;