Best way to implement functors: inheritance VS CRTP? · HackerTrans