摘要: 4 Functors to encapsulate C and C++ Function Pointers 4.1 What are Functors ? Functors are functions with a state. In C++ you can realize them as a class with one or more private members to store the state and with an overloaded operator6 () to execute the function. Functors can encapsulate C and C+ 阅读全文
posted @ 2013-01-10 07:58 dzqabc 阅读(339) 评论(0) 推荐(0)