为同步筛选器。
#define SYNC_DEFAULT <sync_template>
备注
如果编译器支持生成单线程单元,并且多线程应用程序,对于单线程应用程序宏提供 stdext::allocators::sync_none;其他情况下为 stdext::allocators::sync_shared。
要求
标头: <allocators>
命名空间: stdext
为同步筛选器。
#define SYNC_DEFAULT <sync_template>
如果编译器支持生成单线程单元,并且多线程应用程序,对于单线程应用程序宏提供 stdext::allocators::sync_none;其他情况下为 stdext::allocators::sync_shared。
标头: <allocators>
命名空间: stdext