return statement
Terminates current function and returns specified value to the caller function.
Syntax
attr(optional) return expression(optional) ; | (1) | |
attr(optional) return braced-init-list ; | (2) | (since C++11) |
attr(C++11) | - | optional sequence of any number of 登录查看完整内容
|