Skip to main content

One post tagged with "generic-programming"

View All Tags

Checking the Cost of an Abstraction

High Performance C++
Editorial

The phrase "zero-overhead abstraction" is used as though it described a property that C++ abstractions possess. It describes a property that particular abstractions possess under particular conditions, and the conditions are checkable. Treating the phrase as a guarantee is how libraries acquire abstractions that cost twenty percent and nobody notices.