On Friday, 2 August 2013 at 20:50:00 UTC, SteveGuo wrote:
But I mean if the syntax can be more simple?

auto Add(A, B)(A a, B b); // type A, B appears twice

// Can we just make it more simple?
auto Add(a, b)
{
}

Question is "should we"? It creates syntax ambiguity (a and b can be already existing types) and does not really improve language.

Reply via email to