Re[4]: Непонятки с using Base::func в производном классе...
От: dsilence  
Дата: 14.12.07 17:50
Оценка:
Здравствуйте, dsilence, Вы писали:

D>Здравствуйте, Аноним, Вы писали:


А>>Здравствуйте, dsilence, Вы писали:


D>>>Здравствуйте, Аноним, Вы писали:


D>>>всё честно. нет объекта — нет синонима.


А>>


D>стандарт. пункт 7.3.3 параграф 13.


For the purpose of overload resolution, the functions which a introduced by a using-declaration into a derived class will be treated as though they were members of the derived class. In particular, the implicit this parameter shall be treated as if it were a pointer to the derived class rather than to the base class. This has no effect on the type of the function and in all other respects the function remains a member of the base class


пара последних предложений.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.