News for hackers. Stuff that matters.
Re:How C++ Resolves a Function Call by ncmncm on Wednesday March 17, 2021 @03:50AM (#26487738)
C++20:

  template <typename T> T func(T t) { return t; }
  auto func(auto t) { return t; }  // same, "abbreviated"
C++ is often not as nice to type as D, or as Rust. That's backward compatibility for you. But having literally tens of billions of lines of code in production, and millions of programmers who know how to use it, counts for a lot.

There are no comments on this comment yet.