Re[22]: академик - тупица ?
От: ollv СССР https://youtu.be/DQDoYs6wHoo
Дата: 01.03.10 04:12
Оценка: +1 :)
Здравствуйте, Cyberax, Вы писали:

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


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

O>>Аргумент
C>Автор — кретин и лжец. Все кто в эту чушь верят — тупицы.
Сабж
тебе киберакс отніне буду писать только на С++, бо твой кхм стиль умиляет.
struct yes_type {};
struct no_type { int _; };

template <typename __person_type>
no_type __Is_pride_present(...);
template <typename __person_type>
yes_type __Is_pride_present(typename __person_type::pride_id* ptr = 0, ...);


template <typename __persont_type, int __is_yes = (sizeof(__Is_pride_present<__persont_type>()) == sizeof(yes_type))> 
struct __do_you_swear 
{
   static const int __yes = 0;
};

template <typename __persont_type> 
struct __do_you_swear <__persont_type, 1>
{
   static const int __yes = 1;
};

// --- 

print_num(__do_you_swear<Cyberax>::__yes); 

// output compile log : void __stdcall hl::output_number<1>::print(void) 
//.. why ?))  What do you do &... ah .. the same Cyberax
Compiler can be as trained AI but can't compose music.
Antheil piano jazz sonata. Я болен ПГМ.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.