class browser ignores methods that use throw clauses
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
Fantastic job on Dev-C++ so far, keep up the good work!
I looked through all the bug reports and could not find
this one listed (which suprised me) but I just
downloaded v4987 and it still seems to be an issue: Any
class method I create with a throw clause gets ignored
by the class browser. Example:
//foo.h
class foo {
public:
void bar() throw(char*);
};
//foo.cpp
foo::bar() throw(char*)
{
throw "hello world!\n";
}
submiter: matthewpotter matthewpotter@msn.com
Logged In: YES
user_id=591019
It's also a bit weird.
If you commented the throw clause at the implementation,
the class browser shows the class "foo" and the function "bar"
(with the parameter ")").
If you comment it at the definition only, then you get the
class "foo" and with the member function "bar" (with no
parameters).
If you comment if at both places, then you get the class "foo"
with the member function "bar" (with no parameters) and
you get the function "bar" (with parameters ")").
There seems to be something else fishy in the class browser.