This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch-rfc] N2179: Exception Propagation in C++


Paolo Carlini wrote:
Unfortunately, I don't think it can work. What happens if the usercode (in c++98 mode, of course) does:

#define exception_prt 1
#include <exception>

?? Apparently, you still have "unuglified" names, non reserved in c++98, in <exception>.
Hmm, but there's no facility for renaming functions. And I need those declarations, because they have to be friends of exception_ptr.

So we're back to the variant where I need libsupc++ in 0x mode or some other PP symbol as a libsupc++ condition.

Or I could implement the functions as inline stubs that just call the uglified variant, but is that a good solution?

Sebastian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]