STL標準庫-仿函數與仿函數適配器

技術在於交流、溝通,本文爲博主原創文章轉載請註明出處並保持作品的完整性 概要: 1.仿函數 2.bind2nd() 3.not1() 4.bind()   仿函數的實現:聲明一個類,重載它的operator call ("()"操作符) template<typename T> class lineFeed { public: void operator()(const T &x)
相關文章
相關標籤/搜索