Re: verbose exception



I like this idea. But what about a structure like this:

#ifndef  DEBUG_VE_USE_EXCEPTIONS
    #define VE_THROW_???_???(..., info, ...) \
        std::cerr << info << std::endl;

#else      DEBUG_VE_USE_VERBOSE_EXCEPTIONS
    #define VE_THROW_???_???(..., info, ...) \
        /* the verbose exception */          \
        ...                                  \
        ...
#endif 
 


greetz, Maik





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]