I am using vs2017, when using reduce
function:
auto norm = 1.f / std::reduce(t_, t_ + channels);
and the header is:
#include "numeric"
I got below error:
error c2039 “reduce”: is not member of std.
but as far as I know, reduce function has been added in c++17. What should I do?