C++ and D do it differently, I don't know why you're lumping them together. (Well, actually, I lied, I do know why.)