经典的单例类
static CA* Instance(){static CA *instance =new CA() ; return instance;}
模板函数成员
template <typename T>
void creatDB(const std::vector <T> &log);
编译能过,单例的 Instance()也有值,运行到了 creatDB,this 就变成 0x0 了,然后就崩了。