mercredi 8 novembre 2017

C++ template techniques for straightening out recursion?

Assume I have a function that has a naturally occurring recursion, but I want to avoid to do recursion for any number of reasons. Do there exist any good ways to apply templates in C++ to systematically reshape the code execution to avoid the possible hazards of recursion?


(I am not extremely frequently on this site so feel free to redirect me if question is more suitable somewhere else.)

Aucun commentaire:

Enregistrer un commentaire