C++

Compile-Time Policy Composition for Password Validation -- Daniel Gómez Vergel

Daniel Gómez Vergel presents a C++ password validator configured at compile time by composing independent validation policies. Rather than using dynamic polymorphism and the Decorator pattern at runtime, the design makes the validator configuration part of the type itself. The example demonstrates policy-based design, concepts and newer language features such as template for expansions.

AI-written summary, checked against the cited sources. How summaries work

Read at isocpp.org