"zero cost abstractions" usually means you don't pay a performance penalty for abstractions you do not use.
C++ implementations obey the zero-overhead principle: What you don’t use, you don’t pay for [Stroustrup, 1994]. And further: What you do use, you couldn’t hand code any better. – Stroustrup