C++ is not the best language for writing domain-specific languages (DSLs), but it does have a few tricks up its sleeves.
Expression templates have been the go-to approach for this for years, but writing them has always been a pain. The recent C++ versions have improved this situation significantly.
We'll demonstrate several new C++ features which make writing DSLs borderline fun