21.7.1 Name Ambiguity (cont.)

  1. Use the fully qualified function name:
    cout << "Your teaching assistant is "
       << fred->Employee::get_id() << "\n";

prev |top |next