Re: verbose exception
- From: Maik Beckmann <maikbeckmann gmx de>
- To: gtkmm-list gnome org
- Subject: Re: verbose exception
- Date: Sat, 23 Sep 2006 01:29:35 +0200
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]