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.

 
  • [注解:有一些贴子正确的指出,你可以声明一个遇到错误时才返回的静态对象,从而实现在不改变函数语义的情况下返回一个引用。
今日热词
目录 附录 查词历史