📜  转换 cpp - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:55.114000             🧑  作者: Mango

代码示例1
template< class InputIt, class OutputIt, class UnaryOperation >
OutputIt transform( InputIt first1, InputIt last1, OutputIt d_first,
                    UnaryOperation unary_op );
/** transform the the operation 'unary_op' and operate it 
on InputIt first1 iterator to the last1 itr,
and put the result in OutputIt d_first 
**/