Bash scripts and (optionally) an assembler can do this. That's not really the point.
Hmm. Actually, now that makes me want to learn Zig.
What do you mean by that ?
C++ adding the same features means it'll be possible, but it has a much larger intersection of alternative features to introduce edge cases with, and _many_ implementations that will have this feature with varying quirks: all of this means C++ will have to do a _much_ better job than Zig does here to achieve nearly the same result.
I think both will be nice.