transform_iterator compile problem

前端 未结 2 879
误落风尘
误落风尘 2021-01-18 16:35

HI,

I don\'t like posting compile problems, but I really can\'t figure this one out. Using this code:

#include 
#include 

        
2条回答
  •  感情败类
    2021-01-18 17:09

    You'll have to inherit get_value from unary_function const&> to tell transform_iterator what the signature of get_value is.

提交回复
热议问题