Hacker News new | ask | show | jobs
by Conscat 328 days ago
In languages with generic types such as C++, you generally need free factory functions rather than static member functions so that type deduction can work.