]> git.stg.codes - stg.git/commitdiff
Add declaration for operator<< for resetable
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 30 Nov 2011 19:30:44 +0000 (21:30 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 30 Nov 2011 19:30:44 +0000 (21:30 +0200)
include/stg/resetable.h

index cb35d80830dad69e229aa562470a96dd12c76c54..f3cecac843b65ba94f85ffc023f945e7c8981c64 100644 (file)
@@ -58,6 +58,10 @@ private:
 };
 
 template <typename T>
+std::ostream & operator<<(std::ostream & o, const RESETABLE<T> & v);
+
+template <typename T>
+inline
 std::ostream & operator<<(std::ostream & o, const RESETABLE<T> & v)
 {
     return o << v.const_data();