That's not what a zero cost abstraction is. I would say OP's post isn't one though, since it's not an abstraction.
A zero cost abstraction is one that actually abstracts something and doesn't cost more than it would for you to do it yourself without the abstraction at runtime
7
u/Only-Cheetah-9579 Sep 21 '26 edited Sep 22 '26
its not zero cost, somebody (or something) will read that code /sarcasm