------- Comment #2 from joerg dot richter at pdv-fs dot de 2010-04-29 12:54 ------- But throw can be part of ?: operator:
$ cat t.cc int func( bool b ) { return b ? 0 : throw 5; } $ g++ -c t.cc <works> -- joerg dot richter at pdv-fs dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43932