Partial specialization instead of template constraint for detecting operator