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/MultiType.h

    r7284 r7291  
    5252     - setValue<T>(value) assigns a new value and changes the type to T.
    5353
    54     @example
     54    Examples:
     55    @code
    5556    MultiType a = 10;;         // a has now the type int and the value 10
    5657    a.setValue("3.14");        // a has still the type int and "3.14" gets converted, therefore the value is now 3
     
    5859    a.convert<bool>();         // converts 3.14 to bool, which is true
    5960    a = false;                 // assigns false, this is equivalent to a.setValue(false)
     61    @endcode
    6062
    6163    @note
Note: See TracChangeset for help on using the changeset viewer.