I l@ve RuBoard Previous Section Next Section

Item 32. Name Lookup and the Interface Principle桺art 2

Difficulty: 9

What's in a class? That is, what is "part of" a class and its interface?

Hint #1: Clearly nonstatic member functions are tightly coupled to the class, and public nonstatic member functions make up part of the class's interface. What about static member functions? What about free functions?

Hint #2: Take some time to consider the implications of Item 31.

    I l@ve RuBoard Previous Section Next Section