From: Maxim Mamontov Date: Wed, 30 Nov 2011 19:30:44 +0000 (+0200) Subject: Add declaration for operator<< for resetable X-Git-Tag: 2.408~44 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/a645478a85d9a74bbe9a98353ea585992131ae05 Add declaration for operator<< for resetable --- 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();