摘要:
std::bind 之前这篇文章已经讲过C++ 参数绑定bind(适用于C++11以后),参见 C++ Primer学习笔记 - 参数绑定bind。 using namespace placeholders; // or using std::placeholders::_1; auto f = b 阅读全文
摘要:
条款49:了解new-handle的行为 Understand the behavior of the new-handler. operator new:分配例程; operator delete:归还例程。 new-handler:operator new无法满足客户的内存需求时所调用的函数。 阅读全文