Similarly, if a base and its derived types all need access to another class, that class must specifically grant access to the base and each derived class. 同樣,如果基類(lèi)和派生類(lèi)都需要訪(fǎng)問(wèn)另一個(gè)類(lèi),那個(gè)類(lèi)必須特地將訪(fǎng)問(wèn)權限授予基類(lèi)的和每一個(gè)派生類(lèi)。