As shown above, TFilterPredicate is exposed as an interface on the C++ side. C++ code that seeks to specify a function or member function as a method reference parameter has to wrap the latter behind an interface that exposes the Invoke() method.