Thursday May 10th, 2012 by Uranus Zhou
本文同步自(如浏览不正常请点击跳转):https://zohead.com/archives/cplusplus-bind2nd-reference/ 在使用 STL 的 find_if、count_if 等函数时会发现这些函数使用的参数不是普通的函数指针,而是 functional...
Read morePosted in boost, C++, Technology | 1 comment
Monday May 7th, 2012 by Uranus Zhou
本文同步自(如浏览不正常请点击跳转):https://zohead.com/archives/cplusplus-virtual-base-class/ ...
Read morePosted in C++, Technology | No comments
Saturday May 5th, 2012 by Uranus Zhou
Sorry, this entry is only available in 中文.
Posted in China, Travel | No comments
Saturday May 5th, 2012 by Uranus Zhou
本文同步自:https://zohead.com/archives/vector-push-back-space-copy/ 这两天在实际程序中使用 STL 的 vector push_back 类对象时出现问题,偶尔发现 vector 在 push_back...
Read morePosted in C++, Technology | 2 comments
Friday May 4th, 2012 by Uranus Zhou
本文同步自:https://zohead.com/archives/close-socket-after-execl/ Linux下的进程在创建子进程(fork)后,子进程会自动继承父进程的文件描述符,这种机制在没有 execl...
Read morePosted in Linux, Technology | No comments