Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 5:19:36 PM (14 years ago)
Author:
landauf
Message:

the @example tag shouldn't be used in a documentation unless the whole file is an example implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/libraries/util/Debug.h

    r6443 r7291  
    5252     6: Crazy debug information
    5353
    54 @example
     54    Example:
     55    @code
    5556    COUT(0) << "Very important output" << std::endl;
    5657    COUT(1) << "Error: Something went wrong!" << std::endl;
     
    5859    COUT(3) << "Info: It's Monday" << std::endl;
    5960    COUT(4) << "Debug: x is 1.23456" << std::endl;
     61    @endcode
    6062*/
    6163
     
    9698    where (a > b ? 0 : ) stands for COUT(x). This should explain how
    9799    this macro magic can possibly even work ;)
    98 @example
     100
     101    Example:
     102    @code
    99103    COUT(3) << "Some info" << std::endl;
     104    @endcode
    100105@note
    101106    The ? : operator requires both possible results to have the type of
Note: See TracChangeset for help on using the changeset viewer.