A tool for the evaluation of the complexity of programs using C++ templetates