Hannes Hauswedell Hannes Hauswedell

Random thoughts on UNIX, software engineering and the world.

github Mastodon Bluesky linkedin rss

CTAD

Configuring algorithms in Modern C++

When designing library code, one often wonders: “Are these all the parameters this function will ever need?” and “How can a user conveniently change one parameter without specifying the rest?” This post introduces some Modern C++ techniques you can use to make passing configuration options easy for your users while allowing you to add more options later on.