I\'m using template to generalize some function that seems good but in cases that I didn\'t use template I get this error:
in function `findRank(std::deque<