Ray's playground

 

2011年6月9日

Item 5:Be wary of user-defined conversion functions.(More Effective C++)

摘要: Two kinds of functions allow compilers to perform such conversions: single-argument constructors and implicit type conversion operators. A single-argument constructor is a constructor that may be called with only one argument. Such a constructor may declare a single parameter or it may declare mult. 阅读全文

posted @ 2011-06-09 18:00 Ray Z 阅读(201) 评论(0) 推荐(0) 编辑

导航