您的位置:首页 > 其它

Tips: wxString as functions returning and const wxString& as functions arguments

2010-06-15 17:00 337 查看
general advice: all functions taking string arguments should take const
wxString& (this makes assignment to the strings inside the function
faster because of reference counting) and all functions returning
strings should return wxString - this makes it safe to return local
variables.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐