zero cost abstraction is one of the many features of C++, its just you are not familiar with the language