I'd like to replace these macros with templated functions. The ones I am thinking of are used to generate functions that call other functions. Like the algorithms. So I was thinking we make these into templates that take lambdas. And then we can change the macros/functions passed to these things into lambdas. For now I just saw the #define numeric constants and made them into enums and formatted things.
I'd like to replace these macros with templated functions. The ones I am thinking of are used to generate functions that call other functions. Like the algorithms. So I was thinking we make these into templates that take lambdas. And then we can change the macros/functions passed to these things into lambdas. For now I just saw the #define numeric constants and made them into enums and formatted things.