equal
deleted
inserted
replaced
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; |