我找到了这段代码:
std::string(avdInfo_getSystemImagePath(m_avd)
?: avdInfo_getSystemInitImagePath(m_avd))
我只找到了有关条件运算符的信息:http ://www.cplusplus.com/articles/1AUq5Di1/
那是, ?和 : 是分开的。但是,当他们在一起时,这意味着什么?两者avdInfo_getSystemImagePath并avdInfo_getSystemInitImagePath返回char*