Use of C++20 concept in regularization module