for(map<int, vector<vector<int> > >::iterator it=m.being(); it != m.end(); it++)
for(vector<vector<int> >::iterator it2 = it->second.begin(); it2 != it->second.end(); it2++)
Now I have to write for (auto paths : m) {
for (auto path : paths) {
Sure clang annoys me with not being able to compile with -g, but still auto is a lifesaver!Use auto&.
You need a language lawyer to figure out anything but the most basic interactions. For example,
1. What's the practical difference between an abstract class and an interface?
2. When do you have a copy constructor run instead of a cast on initialization if both are defined?
3. When would you use a non-virtual destructor?
What happens when you hire people? Isn't it better to have a small language that everyone understands in its entirety, and has to go out of their way to surprise you?
Interface? You are talking about the C++ language, right?
If Sutter's metaclasses get into C++20 C++ could indeed have an equivalent to interface enforced by the compiler.