摘要: Reverse Nodes in k-GroupGiven a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a... 阅读全文
posted @ 2014-10-09 22:16 晓风_7 阅读(141) 评论(0) 推荐(0) 编辑
摘要: bind函数在c++11之前,要绑定某个函数、函数对象或者成员函数的不同参数值需要用到不同的转换器,如bind1st、bind2nd、fun_ptr、mem_fun和mem_fun_ref等.在c++11中,绑定参数的方法得以简化.c++11提供了"一站式"绑定模板bind,其用法为:#includ... 阅读全文
posted @ 2014-10-09 16:56 晓风_7 阅读(15294) 评论(0) 推荐(1) 编辑