From a645478a85d9a74bbe9a98353ea585992131ae05 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 30 Nov 2011 21:30:44 +0200 Subject: [PATCH] Add declaration for operator<< for resetable --- include/stg/resetable.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stg/resetable.h b/include/stg/resetable.h index cb35d808..f3cecac8 100644 --- a/include/stg/resetable.h +++ b/include/stg/resetable.h @@ -58,6 +58,10 @@ private: }; template +std::ostream & operator<<(std::ostream & o, const RESETABLE & v); + +template +inline std::ostream & operator<<(std::ostream & o, const RESETABLE & v) { return o << v.const_data(); -- 2.44.2