Changeset 574 for trunk/VUT/GtpVisibilityPreprocessor/src/common.h
- Timestamp:
- 01/25/06 01:44:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/common.h
r434 r574 138 138 #endif 139 139 // Clears a container (i.e., a vector of pointers) and deletes the pointers 140 #if 0 140 141 #ifndef CLEAR_CONTAINER 141 142 #define CLEAR_CONTAINER(co) do { while (!(co).empty()) { \ … … 143 144 (co).pop_back();}} \ 144 145 while (0) 146 #endif 147 #endif 148 149 #ifndef CLEAR_CONTAINER 150 #define CLEAR_CONTAINER(co) do { for (int _i = 0; _i < (int)(co).size(); ++ _i) { \ 151 DEL_PTR((co)[_i]);} \ 152 (co).clear(); } \ 153 while (0) 145 154 #endif 146 155
Note: See TracChangeset
for help on using the changeset viewer.