略长,如果不常写,倒是很容易手生。 使用for_each代码就比较简洁。 for_each()事实上是個function template,其实质如下[effective STL item 41]
確定! 回上一頁