64,282
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
#include <stdlib.h>
template <bool b>
class CTestTemplate
{
public:
struct STypeInClass{};
static STypeInClass* pp ;
};
template <bool b>
typename CTestTemplate <b>::STypeInClass* CTestTemplate <b>::pp = NULL ;
int main(int argc,char **argv)
{
CTestTemplate<true> a;
return 0;
}