Example in the doc is corrected.
authoralpar
Tue, 06 Jul 2004 11:28:20 +0000
changeset 69648aa9ace1d7d
parent 695 887c551fb0aa
child 697 89d97db9c927
Example in the doc is corrected.
src/hugo/time_measure.h
     1.1 --- a/src/hugo/time_measure.h	Tue Jul 06 11:27:36 2004 +0000
     1.2 +++ b/src/hugo/time_measure.h	Tue Jul 06 11:28:20 2004 +0000
     1.3 @@ -127,17 +127,20 @@
     1.4    ///Class measuring the cpu time and real time usage of the process.
     1.5    ///It is quite easy-to-use, here is a short example.
     1.6    ///\code
     1.7 +  ///#include<hugo/time_measure.h>
     1.8 +  ///#include<iostream>
     1.9 +
    1.10    ///int main()
    1.11    ///{
    1.12    ///
    1.13    ///  ...
    1.14    ///
    1.15 -  ///  Timer T();
    1.16 +  ///  Timer T;
    1.17    ///  doSomething();
    1.18 -  ///  cout << T;
    1.19 +  ///  std::cout << T << '\n';
    1.20    ///  T.reset();
    1.21    ///  doSomethingElse();
    1.22 -  ///  cout << T;
    1.23 +  ///  std::cout << T << '\n';
    1.24    ///
    1.25    ///  ...
    1.26    ///