alt.hn

7/19/2026 at 6:08:49 PM

(Ab)Using Overload Sets to Create Ad-Hoc Template APIs in D

https://blog.dlang.org/2026/07/19/abusing-overload-sets-to-create-ad-hoc-template-apis/

by WalterBright

7/19/2026 at 8:56:38 PM

Very interesting post. How can I use that for web development? My senior told me to ask this question.

by Kapendev

7/19/2026 at 6:08:49 PM

“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.

by WalterBright