(Ab)Using Overload Sets to Create Ad-Hoc Template APIs in D
Posted by WalterBright |21 hours ago |1 comments
WalterBright 21 hours ago
“Overload set” is a term of art that seemingly arises from the reuse of overload rules across the years. Overload sets quietly power a lot of D’s generic programming, and once you understand them explicitly, a whole class of API design opens up.