News for hackers. Stuff that matters.
Re:Parsing C++ is literally undecidable (2013) by Too on Saturday October 05, 2019 @03:29AM (#21164247)
You can't reliably refactor members in a template because T might be any class. Example: template <typename T> void foo(T bar) { bar.buzz(); }

Try renaming buzz in this context, you really don't know how many other classes that need the same rename. In Java and C# you know because of generic constraints and IDEs can leverage this information. Concepts in c++20 should hopefully solve this.

There are no comments on this comment yet.