1、“Make sure the members appear in the initializer list in the same order as they appear in the class!”
初始化列表中数据成员的初始化顺序应该和你在类的声明中给出数据成员的顺序保持一致!
update t_system_msg2 set send_time = "2013-01-30 18:00:00" - INTERVAL 1 SECOND where content = "resent";
迭代器删除
for(auto iter1 = theMap.begin(); iter1 != theMap.end(); )
{
if(iter1->second == xxx)
{
theMap.erase(iter1++); //#1
}else
{
++iter1;
}
}