| Producing the wrapper functions is handled automatically by Cantata++. Once the WFT (wrapper function template) option is selected and the function to be wrapped specified (in this example the call to operator new within the push() member function of the stack class), Cantata++ generates both a wrapper function template file (in this example stack.wft.cpp) and a corresponding header file (stack.wft.h). |