Selecting the maximum “n” values

前端 未结 3 1129
挽巷
挽巷 2021-01-25 16:43

If I have the following:

#include 
#include 
#include 
#include 

    struct Features{ int F1, F2,         


        
3条回答
  •  滥情空心
    2021-01-25 17:18

    You can't. It's not what std::transform does.

    transform applies a single function to every element in the sequence. It does not select specific elements.

提交回复
热议问题