Type in the words(s) to search for:

    Mark results
      Userbooster Help

      :: (Scope Resolution)

      Scope resolution used for accessing class methods.

      Example

      class base_class
      {
          function f()
          {
              cout << "!!! base_class::f() called !!!\n";
          };
      };
       
      class some_class : base_class
      {
          function f()
          {
              cout << "!!! some_class::f() called !!!\n";
              base_class :: f();
          };
      };