Note: Some posters correctly pointed out that you could make this a reference return without changing the functions semantics by declaring a static object that is returned on failure.
英
美
释义
[注解:有一些贴子正确的指出,你可以声明一个遇到错误时才返回的静态对象,从而实现在不改变函数语义的情况下返回一个引用。
把海词放在桌面上,查词最方便
触屏版
|
电脑版
©2003 - 2024 海词词典(Dict.cn)
立即下载