P
Philipp Holzschneider
Are there any available c++ compilers around that strictly
implement the mentioned "Exception Specification"
feature??
where the following compiles
void func() { throw A(); };
void gunc() throw(A,B) { throw A(); };
----
void thrower() throw(A) { throw A(); };
void passer() throw(A) { thrower(); };
void catcher() throw() { try { passer() } catch ( A ) {}; };
while this would not compile
void func() throw() { throw A(); };
void gunc() throw(C,D) { throw A(); };
----
void thrower() throw(A) { throw A(); };
void passer() throw(B) { thrower(); };
void catcher() throw() { passer(); };
thx in advance!
implement the mentioned "Exception Specification"
feature??
where the following compiles
void func() { throw A(); };
void gunc() throw(A,B) { throw A(); };
----
void thrower() throw(A) { throw A(); };
void passer() throw(A) { thrower(); };
void catcher() throw() { try { passer() } catch ( A ) {}; };
while this would not compile
void func() throw() { throw A(); };
void gunc() throw(C,D) { throw A(); };
----
void thrower() throw(A) { throw A(); };
void passer() throw(B) { thrower(); };
void catcher() throw() { passer(); };
thx in advance!