Changeset 680:17415189e42a in lemon-0.x for src
- Timestamp:
- 06/14/04 11:21:06 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@928
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/klao/debug.h
r619 r680 9 9 namespace hugo { 10 10 11 //! Debug mode for testing/debugging 12 13 //! Use this debug mode if you want exhaustive range and consistency checks. 14 //! It also produces verbose debug messages. 11 15 struct DebugOn { 12 16 //! Example: check whether the edges added to a path are adjacent … … 23 27 }; 24 28 29 //! Debug mode for turning off debug aids. 30 31 //! This debud mode switches off all range and consistency checks, 32 //! as well as the debug messages. 33 //! 25 34 struct DebugOff { 26 35 static const bool consistensy_check = false; … … 31 40 32 41 #ifdef DEBUG 42 //! The default debug mode. 43 44 //! The default debug mode. 45 //! 33 46 typedef DebugOn DefaultDebugMode; 34 47 #else 48 //! The default debug mode. 49 50 //! The default debug mode. 51 //! 35 52 typedef DebugOff DefaultDebugMode; 36 53 #endif
Note: See TracChangeset
for help on using the changeset viewer.