unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* C++ browser for overloaded methods
@ 2007-06-06 12:02 Abanowicz Tomasz
  2007-06-06 13:29 ` spamfilteraccount
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Abanowicz Tomasz @ 2007-06-06 12:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hello
I'm looking for C++ code browser that can do the following.
Assume the following code:

class Human
{
public:
  void show(void) { cout << "It's me"; }
  void show(int age) { cout << "I'm " << age << " years old"; }
}

class Animal
{
public:
  void show(void) { cout << "This is animal"; }
  void show (int age) { cout "It is " << age << " years old"; }
}

int main (void)
{
  Human Adam;
  Animal Bambi;

  Adam.show();
  Adam.show(20);
  Bambi.show();
  Bambi.show(3);
}

I would like to jump to the Bambi.show(3) function with one command.
I place the cursor on Bambi.<show>(3) and perform such a command.

Do you know any code browsers that can do that ?

I tried etags and ebrowse but both of them jump to Human::show(void)
function.
ctags from vim gives the list of all show(...) functions and allows me
to manually choose the proper one.
It is much better than blindly jumping to the Human::show(...).

Does emacs allow more intelligent C++ browsing that solves the above
problem ?
What is the name of such a tools ?

Thank You for help.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-07-24 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 12:02 C++ browser for overloaded methods Abanowicz Tomasz
2007-06-06 13:29 ` spamfilteraccount
2007-06-06 14:54 ` Tom Tromey
2007-06-07 13:50 ` Scott Frazer
2007-07-23 19:05   ` Abanowicz Tomasz
2007-07-23 20:45     ` Scott Frazer
2007-07-24 16:53       ` Scott Frazer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).