摘要: It can be useful to have different actions taken for lvalues and rvalues. Consider a class for holdingan {integer,pointer} pair:templateclass Xref {pu... 阅读全文
posted @ 2014-06-10 16:48 fbwang2011 阅读(165) 评论(0) 推荐(0) 编辑
摘要: [vs2013都能编过噢]Be warned that the narrowing error in the complex to complex case will not becaught until the instantiation of complex’s template constru... 阅读全文
posted @ 2014-06-10 11:12 fbwang2011 阅读(95) 评论(0) 推荐(0) 编辑