C++ has a const system that is closer to D's than any other language, but it still has huge differences: