Right so strictly speaking C++ could do anything here when passed a null pointer, because even though assert terminates the program, the C++ compiler cannot see that, and there is then undefined behaviour in that case
> because even though assert terminates the program, the C++ compiler cannot see that
I think it should be able to. I'm pretty sure assert is defined to call abort when triggered and abort is tagged with [[noreturn]], so the compiler knows control flow isn't coming back.
Film score composers are quite famous for borrowing from 12 tone serialism - quite a bit of discussion on it available by Googling or using your favourite chatbot
Money is a social construct, not some kind of physical quantity subject to conservation laws, and can be and is introduced into the economic system all the time. The real question is really would introducing more money or a UBI cause social disruption by e.g. disrupting price signalling by high inflation or changing incentives to work so less goods and services that people actually value are produced.
It is a social construct but if you just print money you get ... inflation. You can't just increase money supply to redistribute wealth without consequences.
reply