Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - we can use the scope operator :: to identify what it is that we wish to http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
We can use the scope operator "::" to identify what it is that we wish to
examine.  Continuing with the example of the previous sections, we can enter
an address like:


     base::foo

In some cases, this also helps to resolve any ambiguity.  The example above
permits us to set a breakpoint at the source code for the function foo in
the class BASE.


         virtual void foo()
         {
             a = 1;
         }

Here are some more interesting examples:


     derived::foo
     derived::operator =

The first of these two examples contains an ambiguous reference so a prompt
window is displayed to resolve the ambiguity.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson