It's not clear;
Are you saying to don't use std:max_element? (and write it by myself)
I can simply put into a namespace a function double computeMax() { }, but for my application the datas are in vector<Value> and I think that I'll have to pass this vector to computeMax()
so I'll have computeMax(vector<Value>& vec) { }, BUT in this way I have a function that is coupled with that vector.......
Probabibly I don't understand....
Bookmarks