使用std::string的结构不能使用memset

使用了std::string作为成员变量的结构体,千万不能使用memset进行初始化,否则程序会爆

 

posted @ 2020-07-29 19:35  715776681  阅读(348)  评论(0编辑  收藏  举报