
Module: ppl/ppl Branch: master Commit: c9b370c2c65a3c0f23e25d492d520a7ce61ecb1c URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=c9b370c2c65a3...
Author: Roberto Bagnara bagnara@cs.unipr.it Date: Sun Aug 1 17:10:31 2010 +0200
Comment fixed.
---
src/Grid_Generator_System.defs.hh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Grid_Generator_System.defs.hh b/src/Grid_Generator_System.defs.hh index 7ad7960..1fe1e4a 100644 --- a/src/Grid_Generator_System.defs.hh +++ b/src/Grid_Generator_System.defs.hh @@ -251,16 +251,16 @@ public: The following code prints the system of generators of the grid <CODE>gr</CODE>: \code - const Grid_Generator_System& gs = gr.generators(); - for (Grid_Generator_System::const_iterator i = gs.begin(), - gs_end = gs.end(); i != gs_end; ++i) + const Grid_Generator_System& ggs = gr.generators(); + for (Grid_Generator_System::const_iterator i = ggs.begin(), + ggs_end = ggs.end(); i != ggs_end; ++i) cout << *i << endl; \endcode The same effect can be obtained more concisely by using more features of the STL: \code - const Generator_System& gs = gr.generators(); - copy(gs.begin(), gs.end(), ostream_iterator<Grid_Generator>(cout, "\n")); + const Grid_Generator_System& ggs = gr.generators(); + copy(ggs.begin(), ggs.end(), ostream_iterator<Grid_Generator>(cout, "\n")); \endcode */ class const_iterator