changeset 22 | ddc455616bd6 |
parent 0 | e4d67989cc36 |
child 45 | 4b03adbd26ca |
child 57 | 2efc27d87e1c |
--- a/stdcpp/tsrc/Stdcpp_test/stdcxx/tstapps/algorithms/src/25.generate.cpp Fri Apr 16 16:46:38 2010 +0300 +++ b/stdcpp/tsrc/Stdcpp_test/stdcxx/tstapps/algorithms/src/25.generate.cpp Mon May 03 14:06:43 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_; }