Item 24: Declare non-member functions when type conversions should apply to all parameters(Effective C++)
转载
If you need type conversions on all parameters to a function (including the one pointed to by the this pointer), the function must be a non-member.
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:Item 26: Postpone variable definitions as long as possible.(Effective C++)
下一篇:Item 25: Consider support for a non-throwing swap(Effective C++)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章