Templating the Binary/UnaryOperation evaluation routines