auto ResponseCB1 = [&falg](string context, string & fram, int eeee) {
ac_LOG("in eeee%d", eeee);
flag= Success;
};
修改为:
auto ResponseCB1 = [this](string context, string & fram, int eeee) {
ac_LOG("in eeee%d", eeee);
flag= Success;
};