摘要: 1、 将FixedAllocator内的<重载运算符去掉,然后添加以下三个函数。 public: friend bool operator<(FixedAllocator& fa, std::size_t rhs) { return fa.BlockSize() < rhs; } friend bool operator<(std::size_t lhs, Fix... 阅读全文
posted @ 2009-02-12 21:07 拿走不谢 阅读(485) 评论(0) 推荐(0)