stdcpp/tsrc/Stdcpp_test/stdcxx/tstapps/algorithms/src/25.generate.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/stdcpp/tsrc/Stdcpp_test/stdcxx/tstapps/algorithms/src/25.generate.cpp	Thu Aug 19 11:33:45 2010 +0300
+++ b/stdcpp/tsrc/Stdcpp_test/stdcxx/tstapps/algorithms/src/25.generate.cpp	Tue Aug 31 16:54:36 2010 +0300
@@ -76,11 +76,11 @@
 
     // Size must be convertible to an integral type
     operator int () const { return val_; }
-    operator++()
+    int operator++()
     {
     return ++val_;
     }
-    operator--()
+    int operator--()
     {
     return --val_;
     }