|
|
От: |
Анатолий Широков
|
|
| Дата: | 23.02.03 20:02 | ||
| Оценка: | |||
struct A
{
void f(int) {}
};
struct B: A
{
using A::f;
void f(char) {}
};>g++ --version
2.95.2-6
>g++ -o bug bug.cpp
bug.cpp:8: cannot adjust access to `void A::f(int)' in `struct B'
bug.cpp:9: because of local method `void B::f(char)' with same name