[an error occurred while processing this directive]
Вот выжимка из иаровского хелпа (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено =NIK= 10 августа 2006 г. 11:35
В ответ на: Вопрос по С++ отправлено =NIK= 10 августа 2006 г. 11:33

POINTER TO MEMBER FUNCTIONS
A pointer to a member function can only contain a default function pointer, or a function
pointer that can implicitly be casted to a default function pointer. To use a pointer to a
member function, make sure that all functions that should be pointed to reside in the
default memory or a memory contained in the default memory.

Example

class X
{
public:
__arm void af();
__thumb void tf();
};

void (__arm X::*ap)() = &X::af; // Not allowed in non-interworking Thumb mode

void (__thumb X::*tp)() = &X::tf; // Not allowed in non-interworking ARM mode

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа
Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 
URL изображения: 


Rambler's Top100 Рейтинг@Mail.ru
Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание