我能强迫她与钩定义类的方法可以调用的框架,但我还想保持精益和利用新的c++ 11设施每当我可以。
I could force her to define classes with hook methods that can be called by the framework, but I'd like to keep it lean and take advantage of the new C++11 facilities whenever I can.
基类定义了名为load的方法。
通过编写一个简单的类定义,可以将自己的方法添加到QueryPath中。
By writing a simple class definition, you can add your own methods to QueryPath.
When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.
这个大于的操作符的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。
应用推荐