## 20.2.1 Shadows and Qualification

To access (some) hidden names:

- Use `this` to get to hidden attributes (next slide)
- Use the unary scope `::` to access globals (next slide)
- Binary scope to get to another class' hidden names:

  >     int TravelClock::get_hours() const
  >     {
  >        int h = Clock::get_hours();
  >           // Qualify which get_hours is intended
  >        . . .
  >     }

prev |top |next