Changeset 21392 in vbox for trunk/include
- Timestamp:
- Jul 8, 2009 12:52:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r21391 r21392 503 503 #else 504 504 # define RT_NO_THROW 505 #endif 506 507 /** @def RT_THROW 508 * How to express that a method or function throws a type of exceptions. 509 * 510 * @param type The type exception. 511 * 512 * @remarks If the actual throwing is done from the header, enclose it by 513 * \#ifdef RT_EXCEPTIONS_ENABLED ... \#else ... \#endif so the header 514 * compiles cleanly without exceptions enabled. 515 * 516 * @remarks Do NOT use this for the actual throwing of exceptions! 517 */ 518 #ifdef RT_EXCEPTIONS_ENABLED 519 # define RT_THROW(type) throw(type) 520 #else 521 # define RT_THROW(type) 505 522 #endif 506 523
Note:
See TracChangeset
for help on using the changeset viewer.