Wiselib
|
00001 /* 00002 (c) Sergey Ryazanov (http://home.onego.ru/~ryazanov) 00003 00004 Fast delegate compatible with C++ Standard. 00005 */ 00006 #ifndef SRUTIL_DELEGATE_INCLUDED 00007 #define SRUTIL_DELEGATE_INCLUDED 00008 00009 // namespace srutil 00010 // { 00011 #ifdef SRUTIL_DELEGATE_PREFERRED_SYNTAX 00012 template <typename TSignature> class delegate; 00013 template <typename TSignature> class delegate_invoker; 00014 #endif 00015 // } 00016 00017 #ifdef _MSC_VER 00018 #define SRUTIL_DELEGATE_CALLTYPE __fastcall 00019 #else 00020 #define SRUTIL_DELEGATE_CALLTYPE 00021 #endif 00022 00023 #include "detail/delegate_list.hpp" 00024 00025 #undef SRUTIL_DELEGATE_CALLTYPE 00026 00027 #endif//SRUTIL_DELEGATE_INCLUDED