的内容:
template < class InputIterator, class OutputIterator, class UnaryOperator >
OutputIterator transform ( InputIterator first1, InputIterator last1,
OutputIterator result, UnaryOperator op );
op
可以作为成员函数吗?如果可以,如何调用它?
op
成为哪个类的成员?是*first1
的类,*result
的类,*this
的类还是其他类? - Robᵩop
是*first1
类的成员和op
是*this
的成员的情况。你应该能够从中推广出来。 - Robᵩ