Solving the change-making problem at compile time using C++20

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/cpp

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • constexpr-Change

    Calculate at compile time the least number of coins needed to pay change.

    This is my first time doing metaprogramming magic and I'm very happy I managed to make this work, C++ is an awesome language. If you want to see/contribute to the code you can check the GitHub repository.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts