However, I have no idea what you mean with "just headers" or "less memory".
You cannot have abstract functions that don't need to be implemented. You cannot have that in C++ either. It might compile fine, however linking would fail if you try to call these functions.