От: | Aleх | ||
Дата: | 27.02.15 17:22 | ||
Оценка: | 42 (2) |
struct XXX
{
void bar()
{ }
void foo()
{
class YYY
{
int x = 123;
};
bar(); // < error C2352: 'XXX::bar': illegal call of non-static member function
}
};