Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 C++ 中完成函数时使用continue而不是 ,是否有意义?return
continue
return
void function() { //do something; continue; //instead of return }
不可以,continue只能在while, for, 或中使用do。
while
for
do