首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

_CLR_OR_THIS_CALL 这个宏勇在函数名前是什么意思?该如何处理

2012-03-20 
__CLR_OR_THIS_CALL 这个宏勇在函数名前是什么意思?如题:"#ifndef __CLR_OR_THIS_CALL#if defined(MRTDLL)

__CLR_OR_THIS_CALL 这个宏勇在函数名前是什么意思?
如题:

#ifndef __CLR_OR_THIS_CALL
#if defined(MRTDLL) || defined(_M_CEE_PURE)
#define __CLR_OR_THIS_CALL __clrcall
#else
#define __CLR_OR_THIS_CALL
#endif
#endif



explicit __CLR_OR_THIS_CALL basic_ios(_Mysb *_Strbuf)
{// construct from stream buffer pointer
init(_Strbuf);
}


[解决办法]
这个是托管C++所使用到的东西
要是托管的话就相当于
explicit __clrcall basic_ios(_Mysb *_Strbuf)
托管的函数调用方式跟那个__stdcall类似

热点排行