12 2012 档案
摘要:notes-on-effective-cpp----------------------item13 以对象管理资源(RAII) 1)[ Lambda + tr1::function ] VS [ auto_ptr ] item32 确定你的public继承正确模塑出is-a关系item35 考虑virtual以外的方案 1) 2)itemnotes-on-more-effective-cpp---------------------------item01 指针和引用 1)指针可以指向空值,引用必须在初始化时就指定对象 2)指针可以变更指向的对象,引用从始至终无法改变item0...
阅读全文
摘要:man sed-------------------------------------------------------------------------------------------------- g:[address[,address]]g 将hold space中的内容拷贝到pattern space中,原来pattern space里的内容清除 G:[address[,address]]G 将hold space中的内容append到pattern space\n后 h:[address[,address]]h 将pattern space中的内容拷贝到hold sp...
阅读全文

浙公网安备 33010602011771号