Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

#define RT_THROW ( type   ) 

How to express that a method or function throws a type of exceptions. Some compilers does not want this kind of information and will warning about it.

Parameters:
type The type exception.
Remarks:
If the actual throwing is done from the header, enclose it by #ifdef RT_EXCEPTIONS_ENABLED ... #else ... #endif so the header compiles cleanly without exceptions enabled.
Do NOT use this for the actual throwing of exceptions!

Definition at line 530 of file cdefs.h.


Generated by  Doxygen 1.6.0   Back to index