求教关于c++栈对象的问题

char* name, const char* inSig, const char* outSig, const char* argNames, uint8_t annotation, const char* accessPerms) {

if (isActivated) {
return ER_BUS_INTERFACE_ACTIVATED;
}

StringMapKey key = qcc::String(name);
Member member(this, type, name, inSig, outSig, argNames, annotation, accessPerms);
pair item(key, member);
pair ret = defs->members.insert(item);
return ret.second ? ER_OK : ER_BUS_MEMBER_ALREADY_EXISTS;
}

这个member对象是在栈上吗,函数退出自动销毁?

查看全部
a994798546
a994798546
2015/07/28 02:30
  • c++
  • 对象
  • 点赞
  • 收藏
  • 回答
    私信

2个回复