Пункт 11.2/4 draft стандарта
От: Аноним  
Дата: 01.07.08 09:59
Оценка:
Пжадуйста помогите перевести и разобраться пункт 11.2/4 draft стандарта.

11.2/4 A base class B of N is accessible at R, if
— an invented public member of B would be a public member of N, or
— R occurs in a member or friend of class N, and an invented public member of B would be a private or protected member of N, or
— R occurs in a member or friend of a class P derived from N, and an invented public member of B would be a private or protected member of P, or
— there exists a class S such that B is a base class of S accessible at R and S is a base class of N accessible at R.

Re: Пункт 11.2/4 draft стандарта
От: jazzer Россия Skype: enerjazzer
Дата: 03.07.08 09:28
Оценка:
Здравствуйте, Аноним, Вы писали:

А>Пжадуйста помогите перевести и разобраться пункт 11.2/4 draft стандарта.

А>

А>11.2/4 A base class B of N is accessible at R, if
А>— an invented public member of B would be a public member of N, or
А>— R occurs in a member or friend of class N, and an invented public member of B would be a private or protected member of N, or
А>— R occurs in a member or friend of a class P derived from N, and an invented public member of B would be a private or protected member of P, or
А>— there exists a class S such that B is a base class of S accessible at R and S is a base class of N accessible at R.


что конкретно непонятно?
jazzer (Skype: enerjazzer) Ночная тема для RSDN
Автор: jazzer
Дата: 26.11.09

You will always get what you always got
  If you always do  what you always did
Re[2]: Пункт 11.2/4 draft стандарта
От: Аноним  
Дата: 03.07.08 13:10
Оценка:
Здравствуйте, jazzer, Вы писали:

J>что конкретно непонятно?

Не понятны сокращения. Я так подозреваю этот пункт описывает доступ при наследовании.

11.2/4 A base class B of N is accessible at R, if
— an invented public member of B would be a public member of N,


B(Base):public N(Drive)...R
public-------->public--->
private------->private-->

Остальное не понятно вообще, особенно с friend N.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.