当初始化静态整形常量时,无任何问题。但:
static const unsigned char * m_base64 = (unsigned char *)"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
会提示出错。
google了一下,要在cpp中初始化:
Reference : http://*.com/questions/17566575/how-to-initialize-a-static-const-float-in-a-c-class-in-visual-studio
基础不过关,不知道具体原因是什么呢?