lemon/counter.h
changeset 1851 78b5ea23f0f1
parent 1847 7cbc12e42482
child 1855 c72636dcf0bd
equal deleted inserted replaced
0:defb25c719c3 1:022e314b93d3
    93   ///A counter class
    93   ///A counter class
    94 
    94 
    95   ///This class makes it easier to count certain events. You can increment
    95   ///This class makes it easier to count certain events. You can increment
    96   ///or decrement the counter using operator++ and operator--.
    96   ///or decrement the counter using operator++ and operator--.
    97   ///A report is automatically printed on destruction.
    97   ///A report is automatically printed on destruction.
       
    98   ///\todo More doc
    98   class Counter 
    99   class Counter 
    99   {
   100   {
   100     std::string _title;
   101     std::string _title;
   101     std::ostream &_os;
   102     std::ostream &_os;
   102     int count;
   103     int count;